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.
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.