Pregunta

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?

¿Fue útil?

Solución

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

node --prof-process

See the release notes for more information.

Otros consejos

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top