Skip to content

Commit

Permalink
Add deoptimization flags on 'npm run profile'
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Oct 10, 2018
1 parent 6afe3da commit c4217b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ node_modules/
.vscode/
*.generated.ts
*.generated.spec.ts
deopt.out
v8.log
v8.out
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "lib/fast-check.d.ts",
"scripts": {
"perf": "node perf/benchmark.js",
"profile": "node --prof --no-logfile-per-isolate perf/profiler.js && node --prof-process v8.log > v8.out",
"profile": "node --prof --no-logfile-per-isolate --trace-deopt --trace-opt-verbose perf/profiler.js > deopt.out && node --prof-process v8.log > v8.out",
"prebuild": "ts-node prebuild/prebuild.ts",
"build": "tsc",
"build:publish-cjs": "tsc -p tsconfig.publish.json",
Expand Down

0 comments on commit c4217b0

Please sign in to comment.