質問

Only thing I have installed is Nodejs. I'm using Windows 8 x64.

I run my program via node --prof app.js. It generates a v8.log file.

Now, what do I do with the v8.log file?

役に立ちましたか?

解決

Starting with v5.2.0, Node.JS ships with a built-in tick processor:

node --prof-process

See the release notes for more information.

他のヒント

Chrome's built-in Trace Event Profiling Tool (accessible in Chrome or Chromium at chrome://tracing) can build more-useful visualizations around v8.log output.

Note that dumps from node >= 0.11.x may be more useful to you than those on the current stable release (0.10.35).

You need to process the v8.log. The v8 log contains sample points, and want to collect that data into something readable/usable. Check out node-tick-processor and run that over your v8 log.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top