File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1+ name : CodSpeed
2+
3+ on :
4+ push :
5+ branches :
6+ - " main"
7+ pull_request :
8+
9+ jobs :
10+ benchmarks :
11+ name : Run benchmarks
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v5
15+
16+ - uses : dtolnay/rust-toolchain@stable
17+
18+ - name : Install CodSpeed
19+ run : cargo install cargo-codspeed
20+
21+ - name : Build the benchmark target(s)
22+ run : cargo codspeed build
23+
24+ - name : Run the benchmarks
25+ uses : CodSpeedHQ/action@v3
26+ with :
27+ run : cargo codspeed run
28+ token : ${{ secrets.CODSPEED_TOKEN }}
Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ num-traits = "0.2"
4141
4242
4343[dev-dependencies ]
44- criterion = " 0.5"
44+ # criterion = "0.5"
45+ criterion = { package = " codspeed-criterion-compat" , version = " 3.0" }
4546tracing-tracy = " 0.11"
4647tracing-subscriber = " 0.3"
4748tracing = " 0.1"
You can’t perform that action at this time.
0 commit comments