Repository navigation
Do not use &mut [u8] to point to uninitialized string_buffer #286
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 | |
| - name: Check Rust Version | |
| run: rustc --version | |
| - 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 }} |