Skip to content

Commit 4394226

Browse files
committed
measure walltime in ci
1 parent 3033fbf commit 4394226

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/codspeed.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CodSpeed Benchmarks
33
on:
44
push:
55
branches:
6-
- "main" # or "master"
6+
- "main"
77
pull_request:
88
# `workflow_dispatch` allows CodSpeed to trigger backtest
99
# performance analysis in order to generate initial data.
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
benchmarks:
1414
name: Run benchmarks
15-
runs-on: ubuntu-latest
15+
runs-on: codspeed-macro
1616
steps:
1717
- uses: actions/checkout@v5
1818
with:
@@ -26,5 +26,5 @@ jobs:
2626
- name: Run the benchmarks
2727
uses: CodSpeedHQ/action@v4
2828
with:
29-
mode: instrumentation
29+
mode: walltime
3030
run: hatch run test.py3.11-1.26-minimal:pytest tests/benchmarks --codspeed

0 commit comments

Comments
 (0)