forked from o1-labs/o1js
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mike dupont
committed
Sep 16, 2024
1 parent
8706e42
commit d79fee8
Showing
4 changed files
with
17 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
set -x | ||
shopt -s globstar # to expand '**' into nested directories | ||
|
||
for f in ./src/**/*.test.ts; do | ||
#NODE_OPTIONS=--experimental-vm-modules npx jest $f; | ||
# NODE_OPTIONS=--experimental-vm-modules NO_INSIGHT=true clinic flame -- node ./node_modules/jest-cli/bin/jest.js $f | ||
echo NODE_OPTIONS=--experimental-vm-modules NO_INSIGHT=true clinic doctor --collect-only -- node ./node_modules/jest-cli/bin/jest.js $f | ||
done |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
clinic doctor --collect-only -- node --perf-basic-prof --enable-source-maps --stack-trace-limit=1000 src/build/run.js $@ | ||
|
||
clinic doctor -- node --perf-basic-prof --enable-source-maps --stack-trace-limit=1000 src/build/run.js $@ |
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