Lusito / forget-me-not

Make the browser forget website data, except for the data you want to keep.
zlib License
227 stars 25 forks source link

Improve performance for high-amounts of tabs #218

Open Lusito opened 4 years ago

Lusito commented 4 years ago

This will probably involve #83 and #54. Also see #119.

yoasif commented 4 years ago

I opened a bug with Mozilla here, but I am guessing you are better equipped to deal with perf issues in your extension. There is a profile link here: https://bugzilla.mozilla.org/show_bug.cgi?id=1618129#c0

benryanau commented 4 years ago

ta

minusf commented 4 years ago

i dont have a high amount of tabs (22) but FMN is consistently the highest energy user in my FF (82.0.2) session by far.

Watching it for a couple of minutes now, it never even goes under Medium.

Lusito commented 4 years ago

Same Firefox version as you, 22 tabs, FMN is low (0.2) with 1.9MB memory usage. Can you share some details, which pages you have open? Possibly these pages do a lot of requests or frequently create cookies, making FMN work harder.

It naturally goes up whenever a new page is loaded, but it shouldn't stay up unless there are actual requests happening. Aside from one Amazon page, which is medium, all pages are low or even "-" on my tabs. So it's probably about the webpage itself rather than FMN.

minusf commented 4 years ago

i have a couple of heavyweight pages open like the whatsapp web client, mattermost web client, google calendars, pages that tend to spike into medium usage periodically, or when they do something.

But they are not constantly medium, like FMN. I dont mind FMN also spiking, but currently it's always in medium and jumping between 1.5-2.7.

Memory usage is not an issue atm, the numbers are very low.

Sorry i need an edit: actually my google calendar is already in a FF container. so in theory FMN shouldnt touch it at all (is that the case?). The rest are not in FF containers.