better-onetab
better-onetab copied to clipboard
Severe UI slowness on load of each tab page, retitle list, typing out list name, and expanding/minimising tab groups
(extension version): 1.4.7 (browser version): Firefox 69.0.2 (64-bit) (operating system): Windows 10 x64
(problem description): Not sure what the difference is between describing the problem and describing its behaviour, but hey.
The problem is a general slowness in several areas. This has developed ever since I transferred all my old OneTab tabs into Better OneTab. Each page (as it's separated into lists of 10 groups per page, and I have 4 pages) takes about 3 seconds to load. If I want to retitle a list, I have to type out a suitable name in Notepad and copy/paste it across because it's so painfully slow. It's like, 1 character per second. That's ridiculous.
Clicking 'retitle list' as well takes about 2 seconds. And expanding or minimising each group. A good 1-2 seconds per operation. It's unworkable, it's putting me off using Better OneTab.
I have massive respect for the work you've done, it looks amazing. You listen to your feedback, unlike OneTab devs! You've added some awesome features. But these slowness issues seriously undermine all your hard work.
(actual behavior): Most functions take at least 1-2 seconds to compute (see above description).
(expected behavior): Should be instant, or so quick as to make the difference irrelevant. Obviously in the case of expanding/minimising tab groups there's an animation involved. I love the animation! But there's a good 1-2 second delay on top of this.
(reproduce step): Import 30-40 tab groups (doesn't matter how many tabs in each it seems, I have groups with 2 tabs, groups with 20, and most with about 5 tabs). Then refresh the page and try retitling any list. Bask in the gloriously horrific delay!!
Typing out a new list name is especially painful as it takes a full second for each new character to appear, even if you type them at a normal speed! Severe delay.
Try also to minimise / expand any group. 1-2 second delay.
I imagine the problem may have something to do with Vuex store recalculating on every change? Perhaps, something like immer would help?
Thanks @GrayStrider! I'm knee-deep in another project at the moment but when I have more time I'll have a look at Immer!
I imagine the problem may have something to do with Vuex store recalculating on every change? Perhaps, something like immer would help?
@GrayStrider
I'm a bit of a noob so could you mind explaining what immer does, and what am I supposed to do with it? I've tried to understand but it's just too confusing for me.
@pokeriscute "Benefits" section of an official introduction outlines the use cases fairly well! And try to stay on topic when commenting on issues next time; use Discord or Stack Overflow if you want to ask some generic question :)