Skip to content

Commit

Permalink
WIP 2
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Mar 14, 2024
1 parent 32f30ce commit ac92561
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 51 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/benchmark-js.yml

This file was deleted.

15 changes: 13 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ jobs:
shared-key: 'benchmark'
save-cache: ${{ github.ref_name == 'main' }}

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm install

- name: Install codspeed
uses: taiki-e/install-action@v2
with:
Expand All @@ -59,9 +68,11 @@ jobs:
mv target/release/deps/codegen_sourcemap-* target/codspeed/oxc_benchmark
rm -rf target/codspeed/oxc_benchmark/*.d
- name: Run benchmark
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
timeout-minutes: 30
with:
run: cargo codspeed run
run:
- cargo codspeed run
- npm exec vitest bench
token: ${{ secrets.CODSPEED_TOKEN }}

0 comments on commit ac92561

Please sign in to comment.