Node.js Performance

Written — Updated
  • https://clinicjs.org/bubbleprof/ is an async-aware profiler that can help find the real bottlenecks in applications.
  • Node.js now has the v8.getHeapSnapshot function which returns a ReadableStream of the snapshot data. This data can be inspected by the Chrome dev tools to check memory usage, leaks, etc.

Thanks for reading! If you have any questions or comments, please send me a note on Twitter. And if you enjoyed this, I also have a newsletter where I send out interesting things I read and the occasional nature photo.

You can check out a recent issue, or enter your email below to subscribe.