fix: tracing level (#190) #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: Benchmark Main | |
on: | |
push: | |
branches: [ main ] | |
env: | |
RUST_NIGHTLY_TOOLCHAIN: nightly-2024-03-24 | |
jobs: | |
benchmark_base_branch: | |
name: Continuous Benchmarking with Bencher | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ env.RUST_NIGHTLY_TOOLCHAIN }} | |
# https://github.com/Swatinem/rust-cache | |
- uses: Swatinem/rust-cache@v2 | |
- uses: bencherdev/bencher@main | |
- name: Track base branch benchmarks with Bencher | |
run: | | |
bencher run \ | |
--project hyperion \ | |
--token '${{ secrets.BENCHER_API_TOKEN }}' \ | |
--branch main \ | |
--testbed ubuntu-latest \ | |
--adapter rust_criterion \ | |
--err \ | |
cargo bench --bench=sort |