Skip to content

Commit 7796826

Browse files
Boshenclaude
andcommitted
fix(ci): update benchmark workflow for cargo-codspeed v4.3.0
cargo-codspeed v4.3.0 (CodSpeedHQ/codspeed-rust#159) changed internal build mode mapping so `MeasurementMode::Simulation` now maps to `BuildMode::Analysis`, which changed the expected directory from `target/codspeed/simulation/` to `target/codspeed/analysis/`. Also updates CodSpeedHQ/action to v4.8.2. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 2715524 commit 7796826

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ jobs:
8686
--bench minifier --bench codegen --bench formatter \
8787
--no-default-features --features ${{ matrix.feature }} --features codspeed
8888
fi
89-
mkdir -p target/codspeed/simulation/oxc_benchmark
90-
mv target/release/deps/${{ matrix.component }}-* target/codspeed/simulation/oxc_benchmark
91-
rm target/codspeed/simulation/oxc_benchmark/*.d
89+
mkdir -p target/codspeed/analysis/oxc_benchmark
90+
mv target/release/deps/${{ matrix.component }}-* target/codspeed/analysis/oxc_benchmark
91+
rm target/codspeed/analysis/oxc_benchmark/*.d
9292
9393
- name: Run benchmark
94-
uses: CodSpeedHQ/action@0700edb451d0e9f2426f99bd6977027e550fb2a6 # v4.7.0
94+
uses: CodSpeedHQ/action@1aa3d227c0eaa4157abb72f64750a032cac12a9b # v4.8.2
9595
timeout-minutes: 30
9696
with:
9797
mode: simulation

0 commit comments

Comments
 (0)