File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,12 +29,24 @@ permissions:
2929
3030jobs :
3131 benchmark :
32- name : " Benchmark"
32+ name : " Benchmark (${{ matrix.shard }}) "
3333 runs-on : ubuntu-latest
34- timeout-minutes : 15
34+ timeout-minutes : 5
3535 permissions :
3636 contents : read
3737 id-token : write
38+ strategy :
39+ fail-fast : false
40+ matrix :
41+ include :
42+ - shard : " load-reload-get"
43+ filter : " TestBenchLoad or TestBenchReload or TestBenchGet"
44+ - shard : " all-find"
45+ filter : " TestBenchAll or TestBenchFind"
46+ - shard : " write-compact"
47+ filter : " TestBenchPut or TestBenchBatchWrite or TestBenchCompact"
48+ - shard : " keys-items-count-has-delete"
49+ filter : " TestBenchKeys or TestBenchItems or TestBenchCount or TestBenchHas or TestBenchDelete"
3850
3951 steps :
4052 - name : Checkout code
5062 uses : CodSpeedHQ/action@346a2d8a8d9d38909abd0bc3d23f773110f076ad # v4.4.1
5163 with :
5264 mode : simulation
53- run : uv run pytest -m benchmark --codspeed
65+ run : uv run pytest -m benchmark -k "${{ matrix.filter }}" - -codspeed
You can’t perform that action at this time.
0 commit comments