Fix ByteReader skiping emulation prevention check beyond max_fill limit #59
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: 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 update && sudo apt install valgrind | |
| - name: Install iai-callgrind-runner | |
| run: | | |
| version=$(cargo metadata --format-version=1 |\ | |
| jq '.packages[] | select(.name == "iai-callgrind").version' |\ | |
| tr -d '"' | |
| ) | |
| cargo binstall --no-confirm iai-callgrind-runner --version $version | |
| - 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 }} |