v4: read the conformance cases from C #111
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust v4 performance disaster gate | |
| on: | |
| push: | |
| branches: [master] | |
| paths: | |
| - 'v4/rust/**' | |
| - '.github/workflows/v4-rust-performance.yml' | |
| pull_request: | |
| branches: [master] | |
| paths: | |
| - 'v4/rust/**' | |
| - '.github/workflows/v4-rust-performance.yml' | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| representative-workloads: | |
| name: Representative update-ipsets workloads | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 20 | |
| permissions: | |
| contents: read | |
| env: | |
| CARGO_INCREMENTAL: '0' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 | |
| - name: Install stable Rust | |
| run: | | |
| rustup toolchain install stable --profile minimal | |
| rustup default stable | |
| - name: Build the benchmark worker | |
| run: | | |
| cargo build --manifest-path v4/rust/Cargo.toml \ | |
| --profile bench -p iprange-livedb --bin iprange-v4-worker | |
| - name: Run the loose performance gate | |
| run: | | |
| cargo bench --manifest-path v4/rust/Cargo.toml \ | |
| -p iprange-livedb --bench update_ipsets -- ci |