You can profile your app with node-tick.
- Install
node-tickbysudo npm -g install tick - Run your app with enabled profile
node --prof ./app.js - After some time with CPU 100% usage stop your app
- You can see v8.log in your app directory, now you can read it with node-tick-processor
- Run
node-tick-processorand explain the results - Load v8.log into chrome://tracing to analyze as a tree.
node js cpu 100%