-
-
Notifications
You must be signed in to change notification settings - Fork 55
48 lines (46 loc) · 1.51 KB
/
base_benchmarks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
on:
push:
branches: main
jobs:
benchmark_base_branch:
name: Continuous Benchmarking with Bencher
permissions:
checks: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bencherdev/bencher@main
- run: cargo install [email protected]
- run: sudo apt update && sudo apt install -y valgrind
- name: Track base branch IAI benchmarks with Bencher
run: |
bencher run \
--project rasn \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch main \
--testbed ubuntu-latest \
--threshold-measure latency \
--threshold-test t_test \
--threshold-max-sample-size 64 \
--threshold-upper-boundary 0.99 \
--thresholds-reset \
--err \
--adapter rust_iai_callgrind \
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
cargo bench --bench iai
- name: Track base branch criterion benchmarks with Bencher
run: |
bencher run \
--project rasn \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch main \
--testbed ubuntu-latest \
--threshold-measure latency \
--threshold-test t_test \
--threshold-max-sample-size 64 \
--threshold-upper-boundary 0.99 \
--thresholds-reset \
--err \
--adapter rust_criterion \
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
cargo bench