-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Bug description
When I open a GitHub compare page with the extension enables, RAM consumption of the tab may rise to >1 GB. Because my current laptop only has 6 GB and freezes due to this reason, I have disabled the extension for now. Happy to enable it again when the problem can be fixed.
Steps to reproduce
Open a large GitHub page such as https://github.com/hpi-swa-teaching/SwaLint/compare/develop?expand=1 1 and monitor memory consumption in Chrome Task Manager, once with the extension enabled, once with the extension disabled. Difference was about 270 MB vs 810 MB when viewing the commit list and 540 MB vs 1660 MB when viewing the file changes (without expanding any diffs manually).
Workspace affected
No response
Expected behavior
No response
Example repository
No response
Anything else?
No console warnings/error in the DevTools of the GitHub page or the service worker.
Footnotes
-
Note that I might need to merge this soon. FYI the rough characteristics of this diff were 100 commits/1,372 changed files with 6,379 additions and 3,643 deletions when I tested this. ↩