Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
jobs:
benchmarks:
name: Run benchmarks
runs-on: codspeed-macro
runs-on: ${{ vars.CODSPEED_RUNS_ON }}

steps:
- name: Checkout repository
Expand All @@ -32,5 +32,5 @@ jobs:
- name: Run benchmarks
uses: CodSpeedHQ/action@78102a468f96d8e0ccb92d0ec49425753fc42062 # v5.6.0
with:
mode: walltime
mode: ${{ vars.CODSPEED_MODE }}
run: make benchmark
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ $(SDK_BENCHMARKS)/environments:
.PHONY: benchmark
benchmark: | $(SDK_BENCHMARKS)/environments
cargo install --locked cargo-codspeed@$(CARGO_CODSPEED_VERSION)
cd benchmarks && cargo codspeed build --locked --measurement-mode walltime
cd benchmarks && SDK_BENCHMARKS_ENVIRONMENTS=$(CURDIR)/$(SDK_BENCHMARKS)/environments cargo codspeed run --measurement-mode walltime
cd benchmarks && cargo codspeed build --locked
cd benchmarks && SDK_BENCHMARKS_ENVIRONMENTS=$(CURDIR)/$(SDK_BENCHMARKS)/environments cargo codspeed run
Loading