-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* experiment: add codspeed * fix: make esm loader happy * fix: use correct node command * chore: trigger codspeed run * experiment: add codspeed using vitest * chore: lint * fix: revert import broken by lint * experiment: try out patching * chore: enable env: CODSPEED_FORCE_OPTIMIZATION: true * trigger codspeed * fix: adjust ci & lint to new benchmarks * refactor: remove types/chai to prevent type conflicts. they now come bundled with vite * chore: prettier * fix: commonly ignored files * chore: prettier * chore: add codspeed to spellcheck
- Loading branch information
Showing
23 changed files
with
78,944 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ | |
|
||
# Ignore TS files inside integration test | ||
/integrationTests/ts/*.ts | ||
|
||
# Ignore config files | ||
/vitest.config.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: CodSpeed Benchmarks | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' # or "master" | ||
pull_request: | ||
# `workflow_dispatch` allows CodSpeed to trigger backtest | ||
# performance analysis in order to generate initial data. | ||
workflow_dispatch: | ||
|
||
jobs: | ||
benchmarks: | ||
name: Run benchmarks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: 'actions/checkout@v4' | ||
- uses: 'actions/setup-node@v3' | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Run benchmarks | ||
uses: CodSpeedHQ/action@v3 | ||
env: | ||
CODSPEED_FORCE_OPTIMIZATION: true | ||
with: | ||
run: npm exec vitest bench | ||
token: ${{ secrets.CODSPEED_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.