File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Bencher
2+
3+ on :
4+ push :
5+ branches : main
6+
7+ jobs :
8+ benchmark_base_branch :
9+ name : Continuous Benchmarking with Bencher
10+ permissions :
11+ checks : write
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v6
15+
16+ - name : Install Rust
17+ uses : actions-rust-lang/setup-rust-toolchain@v1
18+
19+ - name : Rust Cache
20+ uses : swatinem/rust-cache@v2
21+
22+ - uses : bencherdev/bencher@main
23+ - name : Track base branch benchmarks with Bencher
24+ run : |
25+ bencher run \
26+ --project argusdb \
27+ --token '${{ secrets.BENCHER_API_TOKEN }}' \
28+ --branch main \
29+ --testbed ubuntu-latest \
30+ --threshold-measure latency \
31+ --threshold-test t_test \
32+ --threshold-max-sample-size 64 \
33+ --threshold-upper-boundary 0.99 \
34+ --thresholds-reset \
35+ --err \
36+ --adapter rust_criterion \
37+ --github-actions '${{ secrets.GITHUB_TOKEN }}' \
38+ cargo bench
You can’t perform that action at this time.
0 commit comments