container-tabs-sidebar icon indicating copy to clipboard operation
container-tabs-sidebar copied to clipboard

Firefox using 100% CPU for a few seconds with "Cycle tabs in view order" enabled

Open MiniGod opened this issue 5 years ago • 4 comments

With "Cycle tabs in view order" enabled, when opening a tab, Firefox uses 100% CPU for a few seconds. I have around 100 tabs open, spread over 3 containers.

Opening multiple tabs (ctrl+t 4 or more times), Firefox partially freezes and some of the new tabs are in wrong order (appears on top of "Default").

I noticed you created some debounce-like functionality in scheduleSortTabs, so it's weird that opening multiple tabs makes it worse.

MiniGod avatar May 25 '20 13:05 MiniGod

Thank You for the report. Do you have TemporaryContainers installed by any chance? And if so, is it in 'automatic' mode?

maciekmm avatar May 25 '20 16:05 maciekmm

I do not have that extension installed.

MiniGod avatar May 25 '20 16:05 MiniGod

With about 30 tabs open, I have experienced a few slowdowns, where it took a long time to load new tabs, but I could still change to other tabs. After I enabled Cycle tabs in view order, my Firefox froze completely for several tens of seconds, and the entire UI became unusable.

Have disabled container tabs sidebar for the time being and went back to tree style tabs, even though I really like it.

SuperFluffy avatar May 27 '20 12:05 SuperFluffy

@SuperFluffy do you also experience slowdowns with Cycle tabs in view order disabled?

I have identified the issue when the option is checked, but otherwise the experience should be smooth.

maciekmm avatar May 27 '20 13:05 maciekmm