Skip to content

Commit 99c8452

Browse files
committed
ci: Add performance tests with Bencher
1 parent 3f4a9f9 commit 99c8452

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/bencher.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
on:
2+
push:
3+
branches: main
4+
5+
jobs:
6+
benchmark_base_branch:
7+
name: Continuous Benchmarking with Bencher
8+
permissions:
9+
checks: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v6
13+
- uses: bencherdev/bencher@main
14+
- name: Track base branch benchmarks with Bencher
15+
run: |
16+
bencher run \
17+
--project argusdb \
18+
--token '${{ secrets.BENCHER_API_TOKEN }}' \
19+
--branch main \
20+
--testbed ubuntu-latest \
21+
--threshold-measure latency \
22+
--threshold-test t_test \
23+
--threshold-max-sample-size 64 \
24+
--threshold-upper-boundary 0.99 \
25+
--thresholds-reset \
26+
--err \
27+
--adapter json \
28+
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
29+
cargo bench

0 commit comments

Comments
 (0)