Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do Node.js application resources profiling

While building Node.js applications, how to monitor my code behaviour in memory and IO, knowing for sure what blocks and and what doesn't, what most consumes my memory/processor at what operation.

like image 595
securecurve Avatar asked May 16 '26 15:05

securecurve


1 Answers

You can use PM2 to monitor your application process. If you want profiling, use Keymetric (also by PM2 team). It also has other benefits like auto restart if your application exited.

like image 58
Andi N. Dirgantara Avatar answered May 18 '26 03:05

Andi N. Dirgantara



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!