Reputation: 13507
Is there some kind of built in option, which will make nodejs log info about performance into a file.
Something like:
node --log-performance server.js
if not, then could you advice a tool, which will help me to get info about my app performance?
Upvotes: 0
Views: 206
Reputation: 1036
I created a logging modules scribbles that you can drop in. That works similarly to Console.
You would be interested in the performance-monitoring feature.
It will give you, out of the box
Upvotes: 0
Reputation: 2023
There are tools out there you can use to profile your application,
Here is a nice blog explaining it all
If it is memory leaks that you want to find i just run the app on node-inspector and debug it using chrome DEV tools by taking a heap snapshot and analyzing it.
Upvotes: 0