View previous topic :: View next topic |
Author |
Message |
krotuss Apprentice
Joined: 01 Aug 2008 Posts: 246
|
Posted: Fri Nov 22, 2024 9:30 pm Post subject: firefox - slow "List all tabs" |
|
|
"List all tabs" (down arrow in top right corner) takes 5+ seconds, depending on cpu (i5-3320M CPU @ 2.60GHz) load, for me to open that list. I have 2038 tabs currently open, but how computationally intense it should be to get that list? I have tried on my other machines with faster cpus and with much less tabs and it still takes "noticeable" amount of time. Has anybody else noticed this? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9838 Location: almost Mile High in the USA
|
Posted: Fri Nov 22, 2024 11:52 pm Post subject: |
|
|
I never have that many tabs open, think my personal record is 10 or so. I thought each tab opens a new process, and there's some juggling between them, maybe in javascript...
Is it this bad with firefox-bin ?
Still don't quite get the reason for doing this. I quit my browsers frequently force memory garbage collection... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
finoderi Tux's lil' helper
Joined: 29 Oct 2021 Posts: 79
|
Posted: Sat Nov 23, 2024 5:52 am Post subject: Re: firefox - slow "List all tabs" |
|
|
krotuss wrote: | I have 2038 tabs currently open... |
Have you ever heard about bookmarks? |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1788 Location: Germany
|
Posted: Sat Nov 23, 2024 8:29 am Post subject: |
|
|
Sounds like the wrong tool for the job.
If you really need all those URLs, please add them (sorted and categorized) as bookmarks, as finoderi already suggested.
There is more to the eye as just a list of tabs. You are lucky that your browser did not crash on you already. _________________ Forum Guidelines
PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire |
|
Back to top |
|
|
krotuss Apprentice
Joined: 01 Aug 2008 Posts: 246
|
Posted: Sat Nov 23, 2024 5:21 pm Post subject: |
|
|
Banana wrote: | There is more to the eye as just a list of tabs. You are lucky that your browser did not crash on you already. |
I would really like to hear more about this, because I don't see why it should be a problem. Firefox used to load all tabs at startup, which used to be 'inconvenient', but that behavior is long gone now. I think that there is even optimization that unloads long inactive tabs from memory. There is hard to justify why should 'cold' tab take any considerable resources, other than few bytes for title, url, thumbnail and maybe some metadata. I would expect it to be comparable to bookmark, except for 2000 UI tab widgets, but UI seems to manage just fine. My main firefox task takes about 512MB, thats comparable to tabs with open youtube videos and should not be a problem on system with 16GB RAM. Even 7k tabs should not be a problem https://uk.pcmag.com/browsers/152140/firefox-power-user-keeps-7400-browser-tabs-open-for-2-years.
There seems to be some problem specific to "List all tabs" menu, I don't know, maybe they try sort every time that menu is accessed... |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9838 Location: almost Mile High in the USA
|
Posted: Sat Nov 23, 2024 7:05 pm Post subject: |
|
|
I tried holding down control-t for a minute or so to generate a thousand or so more or less empty tabs. After a lot of CPU churn (using on average 1.5 cores - so perhaps on a dual core machine it's starting to get swamped) it settled down but it used 3.3GB of RAM and has maintenance cycles. I have enough RAM to keep it as RSS instead of swap, so it's not a big deal in terms of swap usage, but the CPU maintenance cycles does consume some CPU once in a while.
Agree bookmarks is a better idea, saves memory and CPU/memory cycles.
BTW this is on my machine with the fastest memory (i7-2700k quad core/8 thread), though it's only DDR3-1600 I hit about 20GB/sec, which makes a difference when working with a large amount of memory that can't be cached. I suspect that despite having enough memory, using an older machine that only has 4GiB/sec RAM access speeds it would be 1/5 the speed right there. (still haven't figured out my quad channel DDR3-1066 (E5-2690v2 10C20T) seems slower in RAM speed than my dual channel DDR3-1600 in memtest86+ at around 14GB/sec or so(?), but that's getting off topic...) _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|