Merge pull request #107 from c410-f3r/misc #1
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: Bencher | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
benchmark_with_bencher: | |
name: Continuous Benchmarking with Bencher | |
runs-on: ubuntu-latest | |
env: | |
BENCHER_ADAPTER: rust_bench | |
BENCHER_PROJECT: wtx | |
BENCHER_TESTBED: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: bencherdev/bencher@main | |
- name: Track Benchmarks with Bencher | |
run: | | |
bencher run \ | |
--branch "$GITHUB_REF_NAME" \ | |
--err \ | |
--token "${{ secrets.BENCHER_API_TOKEN }}" \ | |
"cargo bench --all-features" |