Profiling Node.js Applications
CPU Profiling and Heap Snapshot tools are used to profile the execution performance and memory usage of your Node.js applications. These tools are available at the push of a button from the N|Solid Console.
The profiling tools can help diagnose the following problems with your application:
- find a memory leak
- find slow functions causing bottlenecks
The profilers are so easy to use, you won't want to wait for a problem to appear before using them. Try running them on your applications to see there are any easy optimizations you can make to your memory usage and performance. You may be surprised; I often am!
If you haven't installed N|Solid yet, you might want to check out these blog posts, which provide an introduction to the N|Solid Runtime and Console.
If you'd like more information on the V8 CPU Profiler and Heap Snapshot tools that underlie the N|Solid profiling tools, see the following documents at the Google Developers site: