fix(benchmarks): Bump max_decoding_message_size to 32MiB to fix batch processor benchmarks #6180
Workflow file for this run
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-Benchmarks | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| types: [opened, synchronize, reopened, labeled] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| bench: | |
| # Only run when PR has 'cargobench' label | |
| if: contains(github.event.pull_request.labels.*.name, 'cargobench') | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| folder: | |
| - otap-dataflow | |
| - experimental/query_abstraction | |
| - experimental/query_engine | |
| - experimental/syslog-cef-receivers | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: true | |
| - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 | |
| with: | |
| toolchain: stable | |
| - name: cargo bench ${{ matrix.folder }} | |
| run: cargo bench | |
| working-directory: ./rust/${{ matrix.folder }} | |
| bench-contrib: | |
| # Run feature-gated contrib benchmarks under the same label | |
| if: contains(github.event.pull_request.labels.*.name, 'cargobench') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: true | |
| - uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 | |
| with: | |
| toolchain: stable | |
| - name: cargo bench contrib-nodes (all features) | |
| run: cargo bench -p otap-df-contrib-nodes --all-features | |
| working-directory: ./rust/otap-dataflow |