Node.js –prof – Profiling Node.JS Applications

- Node.js

Node.js tutorial

This article will help you to find out more information about Node.js –prof, since the following Node.js tutorial sheds light on profiling Node.js applications.


Calling something like “ulimit -n 8192” in your Node.js application runs a shell script before starting the service. Thus, running with Node.js –prof to generates the v8.log

Note that there are tools  in /node/deps/v8/ that in combination with this command

lead to the following results:

For a trace log use this one:

If you need time, utilize the following command:

Other Useful Tools

  • node-tick – a node.js-runnable v8.log processor

Profile a program:

translate the DTrace output into a flame graph:


Other tips from the cookbook