I'm unable to get any profiling output from node 4.1.1:
[/tmp]% cat index.js (arkadiy@helium:/tmp)
console.log("boom");
[/tmp]% node --prof index.js (arkadiy@helium:/tmp)
boom
[/tmp]% ls v8.log (arkadiy@helium:/tmp)
ls: v8.log: No such file or directory
[/tmp]% node --version (arkadiy@helium:/tmp)
v4.1.1
[/tmp]% which node (arkadiy@helium:/tmp)
/usr/local/bin/node
--prof
still appears to be a valid option and the manpage and all docs I can find seem to imply that the above invocation should generate a v8.log file I can analyze with eg node-tick
. What am I doing wrong?
Looks like I can get a log with --perf_basic_prof
[/tmp]% node --perf_basic_prof index.js (arkadiy@helium:/tmp)
boom
[/tmp]% ls *v8.log (arkadiy@helium:/tmp)
isolate-0x101804c00-v8.log
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.