examples/perf: Add an arch flag to run only on x86_64 #187
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
| on: [pull_request] | |
| name: benchmark pull requests | |
| jobs: | |
| runBenchmark: | |
| name: run benchmark | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| repository-projects: write | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: boa-dev/criterion-compare-action@v3 # https://github.com/marketplace/actions/criterion-compare-prs | |
| env: | |
| RUSTFLAGS: "-C target-cpu=native" | |
| with: | |
| # Optional. Compare only this benchmark target | |
| benchName: "to_tape" | |
| features: "bench-all" | |
| # Needed. The name of the branch to compare with. This default uses the branch which is being pulled against | |
| branchName: ${{ github.base_ref }} |