0.0.3 ⢠Published 8 years ago
perfdoc v0.0.3
perfdoc
Print V8 deoptimization reasons in a developer friendly way.
Example output:

Example output with --short flag:

Usage
npm i -g perfdocand then run the script you want to analyze
perfdoc foo.jsCLI
š Print V8 deoptimization reasons in a developer friendly way
Usage:
$ perfdoc [options] <file>
Options:
--short Hide code frame
--bail Exit with code 1 if a deoptimization has been found
--help, -h Show usage information and the options listed here
Examples:
$ perfdoc foo.js
$ perfdoc --short foo.js
$ node --trace-deopt foo.js | perfdocLicense
MIT, see license file.