Toot

Written by ragman on 2025-01-28 at 18:32

TIL that Chrome has a great built in Node JS profiler.

You can connect the Chrome debugger to your Node code, and get Performance metrics just like you can with a website!

See https://developer.chrome.com/docs/devtools/performance/nodejs for full instructions.

One tip is that you need to add a timeout before the code you want to profile, so that you have time to hit the Record button in the DevTools “Performance” tab.

[#]coding, #webdev, #debugging, #nodejs

(1/2)

=> More informations about this toot | View the thread | More toots from ragman@jawns.club

Mentions

Tags

=> View coding tag | View webdev tag | View debugging tag | View nodejs tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113907411769458088
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
224.214241 milliseconds
Gemini-to-HTML Time
0.92255 milliseconds

This content has been proxied by September (3851b).