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.getHeapSnapshotfunction which returns a
ReadableStreamof 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.