📣 Debugging memory problems in Chrome DevTools is now super fast ⚡

José Dapena has made heap snapshots *much* quicker based on investigations by Jason Williams & Ashley Claymore and funding from TechAtBloomberg 🎉

🧵

https://v8.dev/blog/speeding-up-v8-heap-snapshots

Speeding up V8 heap snapshots · V8

This post about V8 heap snapshots presents some performance problems found by Bloomberg engineers, and how we fixed them to make JavaScript memory analysis faster than ever.

The story began when Ashley Claymore was investigating a memory leak. Taking the heap snapshot took 10 minutes 😯

He knew something was not right and passed the ball to our performance team. Jason Williams investigated further using the Windows Performance Analyzer 🕵️

Luckily TechAtBloomberg have a decade-long collaboration with Igalia that means we can call on the best folk in the industry to solve these problems for all of us 🤝

José Dapena took the ball and scored two major wins to reduce heap capture times via better hashing and caching 👍

These performance wins when capturing heap snapshots using the Memory tab in Chrome DevTools can range between 2x and 100x depending on the use-case 🔥

You can benefit from this improved debugging performance today in Chromium 115 or Node 20.5 which was published one week ago 🎉