Bounds checks for many fields #4
This file contains 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: Run and Cache Benchmarks | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
benchmark: | |
name: Run Benchmarks | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- uses: cargo-bins/cargo-binstall@main | |
- run: sudo apt-get install valgrind | |
- run: cargo binstall --no-confirm [email protected] | |
- run: | | |
IAI_CALLGRIND_COLOR=never cargo bench --bench ci_bench > benchmark_results.txt | |
- name: Upload Benchmark Results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: benchmark_results.txt | |
path: ./benchmark_results.txt | |
- name: Upload GitHub Pull Request Event | |
uses: actions/upload-artifact@v4 | |
with: | |
name: event.json | |
path: ${{ github.event_path }} |