We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f63c8d7 commit e667c1eCopy full SHA for e667c1e
.github/workflows/bench.yml
@@ -4,6 +4,12 @@ on:
4
push:
5
branches:
6
- "main"
7
+ workflow_dispatch:
8
+ inputs:
9
+ filter:
10
+ description: 'Optional filter for cargo bench (e.g., a specific benchmark name)'
11
+ default: ''
12
+ required: false
13
14
jobs:
15
benchmarks:
@@ -32,9 +38,9 @@ jobs:
32
38
bencher run \
33
39
--project cryprot \
34
40
--token '${{ secrets.BENCHER_API_TOKEN }}' \
35
- --branch main \
41
+ --branch '${{github.ref_name}}' \
36
42
--testbed ubicloud-standard-4 \
37
43
--threshold-measure latency \
44
--threshold-test t_test \
45
--threshold-upper-boundary 0.99 \
- 'cargo bench'
46
+ 'cargo bench ${{ github.event.inputs.filter }}'
0 commit comments