Skip to content
Merged
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
17 changes: 14 additions & 3 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,22 @@ jobs:
- run: pnpm install --frozen-lockfile --prefer-offline
- run: pnpm moon run :build

- name: Run benchmarks
# use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2`
- name: Run simulation benchmarks
uses: CodSpeedHQ/action@main
with:
mode: simulation
run: |
pnpm moon run tinybench-plugin:bench
pnpm moon run vitest-plugin:bench
pnpm moon run benchmark.js-plugin:bench
pnpm --workspace-concurrency 1 -r bench-tinybench
pnpm --workspace-concurrency 1 -r bench-benchmark-js
pnpm --workspace-concurrency 1 -r bench-vitest

- name: Run memory benchmarks
uses: CodSpeedHQ/action@main
with:
mode: instrumentation
mode: memory
run: |
pnpm moon run tinybench-plugin:bench
pnpm moon run vitest-plugin:bench
Expand Down
Loading