chzesa / tiled-tab-groups

27 stars 6 forks source link

Performance with a large number of tabs #32

Open Jipok opened 3 years ago

Jipok commented 3 years ago
video https://user-images.githubusercontent.com/25588359/142689406-5096c0d3-6783-4d2a-b52a-f48e57e79211.mp4

Although it is many times faster than using Trey Style Tabs.

Will performance improve if I move tabs from this heap to many small groups? For example, 15 groups of 50-150 tabs each.

chzesa commented 3 years ago

Correct me if I'm wrong, but it looks like you're using ftt. Since ftt handles every event individually the performance issues are most likely caused by the sidebar tree updates falling further and further behind with the large number of tabs. Smaller groups will improve performance. While it's inconvenient to do this manually, you can also try hiding the sidebar, switching groups, and showing the sidebar again.

Jipok commented 3 years ago

... you're using ftt.

Yes. Tree Style Tabs are compatible with your addon and another popular group addon, but it has huge performance issues after a couple of hundred tabs. There is also a Sidebery which is great overall. But the number of groups is very small and it has an ancient unsolved problem with collapsing all tabs into the first group. Unfortunately, there is nothing else.

you can also try hiding the sidebar, switching groups, and showing the sidebar again.

It helps, but not completely:

https://user-images.githubusercontent.com/25588359/142693109-7e10a9a7-5560-4390-9532-876d2d84f13e.mp4

chzesa commented 3 years ago

Do you have any other tab related addons enabled, such as tree style tabs or sidebery, running in the background? ftt was developed with performance as its primary goal so I'm frankly not sure what else could be done if the addon is too slow even without the sidebar visible.

Jipok commented 3 years ago

https://user-images.githubusercontent.com/25588359/142694076-bbb5d4cd-8a3d-4071-b96d-10fce81e5bc4.mp4

Overall acceptable. This view is not needed every couple of minutes. It’s just surprising that it’s black at first.

Jipok commented 3 years ago

Do you have any other tab related addons enabled, such as tree style tabs or sidebery, running in the background?

No. My addons: image

ftt was developed with performance as its primary goal so I'm frankly not sure what else could be done if the addon is too slow even without the sidebar visible.

I disabled all addons except your two. I measured it with a timer, the difference turned out to be about 10-15%.

chzesa commented 3 years ago

Alright, thank you for testing. I'll see if I can somehow improve the performance.

chzesa commented 2 years ago

Both TTG and ftt now have updated versions available to download and they should perform better.