With Node.js applications and services, spotting the performance bottlenecks in your applications is deciding to take real advantage of the speed and reliability that Node.js has to offer.

A CPU profile is a way to understand how your application is executed, what functions devour what percent of CPU time, and provides enough information for a more precise application diagnostic.

Node.js provides a way to run a CPU profile, but it is important to consider the cost of profiling your application (at the time of this blogpost publish date). The CPU profile option in Node.js will profile the application from the startup until the process exits, which is an experimental feature and not recommended in production environments.


Tutorial to CPU Profiles as a Diagnostics tool in Node.js
3.50 GEEK