File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : codspeed-benchmarks
2+
3+ on :
4+ # Run on pushes to the master branch
5+ push :
6+ branches :
7+ - " master"
8+ # Run on pull requests
9+ pull_request :
10+ # `workflow_dispatch` allows CodSpeed to trigger backtest
11+ # performance analysis in order to generate initial data.
12+ workflow_dispatch :
13+
14+ jobs :
15+ benchmarks :
16+ strategy :
17+ matrix :
18+ runs-on :
19+ - ubuntu-latest
20+ - codspeed-macro
21+ runs-on : ${{ matrix.runs-on }}
22+
23+ steps :
24+ - uses : actions/checkout@v4
25+ - name : Setup rust toolchain, cache and cargo-codspeed binary
26+ uses : moonrepo/setup-rust@v1
27+ with :
28+ cache-target : release
29+ bins : cargo-codspeed@2.8.0-alpha.3
30+
31+ - name : Build the benchmark target(s)
32+ run : cargo codspeed build
33+
34+ - name : Run the benchmarks
35+ uses : CodSpeedHQ/action@v3
36+ with :
37+ runner-version : 3.3.0
38+ run : cargo codspeed run
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,8 +20,10 @@ readme = "README.md"
2020repository = " https://github.com/rkyv/rkyv"
2121
2222[workspace .dependencies ]
23- bytecheck = { version = " 0.8" , default-features = false , features = [" simdutf8" ] }
24- divan = { version = " 0.1" , default-features = false }
23+ bytecheck = { version = " 0.8" , default-features = false , features = [
24+ " simdutf8" ,
25+ ] }
26+ divan = { package = " codspeed-divan-compat" , version = " 2.8.0-alpha.3" , default-features = false }
2527hashbrown = { version = " 0.15" , default-features = false }
2628munge = { version = " 0.4" , default-features = false }
2729proc-macro2 = { version = " 1" , default-features = false }
You can’t perform that action at this time.
0 commit comments