Skip to content
Closed
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
35 changes: 35 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,38 @@ jobs:
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
walltime:
name: Wall-time
runs-on: codspeed-macro
steps:
- name: Checkout Branch
uses: taiki-e/checkout-action@v1

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: pnpm

- name: Setup benchmark data
run: cd benches && pnpm install --ignore-workspace

- uses: Boshen/setup-rust@main
with:
cache-key: benchmark
save-cache: ${{ github.ref_name == 'main' }}
tools: cargo-codspeed

- uses: ./.github/actions/pnpm
- name: Build Benchmark
env:
RUSTFLAGS: "-C debuginfo=1 -C strip=none -g"
run: cargo codspeed build

- name: Run benchmark
uses: CodSpeedHQ/action@v3
timeout-minutes: 30
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
Comment on lines +59 to +92

Check warning

Code scanning / CodeQL

Workflow does not contain permissions

Actions Job or Workflow does not set permissions
Loading