microsoft / vscode-js-profile-visualizer

A custom editor for viewing `.cpuprofile` files in VS Code
MIT License
135 stars 26 forks source link

Add metric for HeapTotal and Resident Set size #147

Closed timneutkens closed 11 months ago

timneutkens commented 11 months ago

Hey, hope you're doing well, I'm back with a follow-up to #63. While investigating reports of memory leaks in Next.js we found that this time it wasn't related to the heapUsed but instead rss increasing and that couldn't be observed with this extension. So I came to the realization that all memory metrics should be reported as the data is there already and then you can opt-in/out of which one you want to observe.

Screenshot of the change:

CleanShot 2023-07-13 at 21 10 35@2x
timneutkens commented 11 months ago

@microsoft-github-policy-service agree