Small example of Node.js profiling from official guides
npm install
Run example Express application server from one terminal
npm run prof
In other terminal, repeat concurrent tests
npm run test-prof
After run tests, process profiler output. Follow Easy profiling for Node.js Applications instructions.