Closed addyosmani closed 4 years ago
Measure extension's memory consumption and CPU utilization using Chrome's Task Manager
This is the part of this I don't trust here :) Every time I inspected the extension itself with DevTools all memory usage was low and/or eventually GC'd after #69
While the memory does grow for a few minutes in Chrome's task manager. It all appears to be the virtual DOM elements/listeners created by Chrome extension APIs and the periodic animations the extension does and can all be GC'd. (notice the enormous cliff after nodes hit ~600)
There is some cleanup we can do for ending animations earlier though.
Describe the bug
It looks like we may have some additional memory leaks sitting around 🚿 Once all tabs that are badged are closed, memory usage from the extension remains in the ~50MBs on my machine.
This continues to grow if left open for a few minutes.
To Reproduce
This appears to also be present after #68 and #69 cc @patrickhulce as an fyi