Skip to content

Commit 83d799b

Browse files
committed
Add the benchmarking workflow
1 parent afb50a7 commit 83d799b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/bench.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Benchmarking
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
env:
13+
CARGO_TERM_COLOR: always
14+
15+
jobs:
16+
bench:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: checkout the source code
20+
uses: actions/checkout@v5
21+
22+
- name: cache and/or reuse compiled Rust dependencies
23+
uses: Swatinem/rust-cache@v2
24+
25+
- name: build and run benchmarks
26+
run: cargo bench --verbose

0 commit comments

Comments
 (0)