What's specifically happening when a browser starts slowing under tab load?

Started by warmachine2, April 13, 2020, 03:01:16 PM

Previous topic - Next topic


Browsers start to get sluggish and unresponsive under increasing tab load. What/Where specifically is the source of this slowness, and could it possibly be "boosted" in some way (other than limiting tabs)?

Obviously, there's a heavy load on memory when you have 100+ tabs open. But if there's a copious amount of RAM + page file available, why does it still get slow? What function or mechanism is the source of the slowdown? Is it on the browser's side of responsibility, or the OS'?

Without the Firefox source code, I'm wondering if there's some measure I could tweak to circumvent the slowdown, like perhaps manually allocating metric-ton of disk cache, or something.

(For reference, speaking of 64-bit browsers)

Jeremy Collake

That is a big question. Put simply, modern web pages are 'heavy'. They have lots of elements and scripts. The browser (and OS) try to keep memory that might be soon referenced in RAM. You want your RAM to be as utilized as possible as the fastest storage medium on your device. Further, just because a tab isn't visible doesn't mean it is not doing anything.

This is an area of optimization targeted by entire teams of developers, so you aren't going to find a simple tweak to make. Best case scenario, you change the browser settings to behave more like what you think you want, but there will be some trade-off to that which may not be immediately apparent to you.
Software Engineer. Bitsum LLC.