Skip to content

Commit 551e2dc

Browse files
authored
try this? (#1079)
1 parent fbfb76b commit 551e2dc

1 file changed

Lines changed: 4 additions & 36 deletions

File tree

‎.github/workflows/codspeed.yml‎

Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -31,41 +31,9 @@ env:
3131
RANDOMLY_SEED: "3485796098"
3232

3333
jobs:
34-
amd_benchmarks:
35-
name: amd64 benchmarks
36-
runs-on: ubuntu-22.04
37-
permissions:
38-
contents: read
39-
id-token: write
40-
41-
steps:
42-
- name: Checkout code
43-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
44-
with:
45-
persist-credentials: false
46-
47-
- name: Install Python
48-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
49-
with:
50-
python-version-file: pyproject.toml
51-
52-
- name: Install uv
53-
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
54-
with:
55-
enable-cache: false
56-
57-
- name: Build msgspec and install profiling dependencies
58-
run: uv sync --group test-prof
59-
60-
- name: Run benchmarks
61-
uses: CodSpeedHQ/action@c145068895e045cc725ee76fcd2307624b65c3af # v4.17.5
62-
with:
63-
mode: simulation
64-
run: uv run --no-sync pytest tests/prof/perf --randomly-seed="$RANDOMLY_SEED" --codspeed -k amd
65-
66-
arm_benchmarks:
67-
name: arm benchmarks
68-
runs-on: ubuntu-24.04-arm
34+
perf_benchmarks:
35+
name: performance benchmarks
36+
runs-on: codspeed-macro
6937
permissions:
7038
contents: read
7139
id-token: write
@@ -97,7 +65,7 @@ jobs:
9765

9866
memory_benchmarks:
9967
name: Memory benchmarks
100-
runs-on: ubuntu-22.04
68+
runs-on: codspeed-macro
10169
permissions:
10270
contents: read
10371
id-token: write

0 commit comments

Comments
 (0)