Performance problem with a lot of tabs open and with TabBar disabled



  • I use an extension to manage tabs and I have Tab Bar disabled, with around 200 tabs open at the moment, after I resize the window when I release the mouse button, the entire window freezes for at least 5 seconds... It's quite annoying....
    What I guess is that even with Tab Bar disabled, the browser is still doing something underneath, which probably browser shouldn't be doing when Tab Bar is disabled.
    Is there anything I can do to speed thing up?
    Here is the video how it looks like:
    https://www.youtube.com/watch?v=ptPSYDzhnMI



  • Does the performance issue happen if you disable the extension you're using to manage tabs?



  • @jtackaberry Yes. The issue persists with or without extensions, with Tab Bar enabled or disabled, as if it's not affecting things at all, it's like the Tab bar is always there but invisible and calculations are being made without consideration that Tab Bar is disabled, hogging up the entire interface.



  • Added the link with video in the first post to show what happens.


  • Vivaldi Translator

    @kroppy said in Performance problem with a lot of tabs open and with TabBar disabled:

    with around 200 tabs

    Start from not opening that many tabs?
    Is there any browsers (for browser case) that not eventually slap us back with too many tabs running in real time?
    I suggest, at least hibernate the others.



  • @dLeon
    No problems in regular Opera or in Firefox with Treetabs that hide TabStrip. I can open 1000 tabs without problems. And yes tabs are not loaded. In my extension I can discard tabs which works great. It's definitely UI problem. When Tab Bar is hidden it should not try to do calculation on tabs UI part. I started to poke around in common.css file to see which part is responsible for it.
    As far as I can tell there is only #tabs-container.none with display:none; property, but it does not affect all children, so it definitely does the calculation on tabs... Bad approach :/


  • Vivaldi Translator

    @kroppy
    Yeah, we could try to open many tabs. I just mean it eventually will do weird stuff.

    I agree with you about Tabs problem. Not just tabs, I thing it's entire Vivaldi Windowing system.

    I notice the windowing system improve a lot just between 1.5 ~ 1.9. At least in my Linux/Debian system, I see New Window open faster than before, starting from last 1.8. Around 1.9 Panel is instant.

    Still, your use case, 200 tabs or even 1000 tabs is not common if not WOW! I can't tell what is what pass 20 tabs :laughing:
    I can't picture how a multiprocess browsers could split/share system resources for each of them.

    Let see, I think to approach the same feat. Vivaldi need to cut some API, maybe Split frame, Stacks, Hibernate caller or others that will be called every Tab frame open. If there none of them, the code will be leaner. I think, probably option to turn off completely? We did the same in Firefox, to make it leaner, turn off everything default. Opera New did it by kick out almost every Chromium default and re-build from scratch, in years.

    I don't know what maneuver Vivaldi devs needed to tune up for that use case scenario.


    I ya... you play with common.css directly?
    I expect you use this way?
    https://forum.vivaldi.net/topic/10549/modding-vivaldi



  • @dLeon said in Performance problem with a lot of tabs open and with TabBar disabled:

    @kroppy
    Yeah, we could try to open many tabs. I just mean it eventually will do weird stuff.

    I agree with you about Tabs problem. Not just tabs, I thing it's entire Vivaldi Windowing system.

    I notice the windowing system improve a lot just between 1.5 ~ 1.9. At least in my Linux/Debian system, I see New Window open faster than before, starting from last 1.8. Around 1.9 Panel is instant.

    Still, your use case, 200 tabs or even 1000 tabs is not common if not WOW! I can't tell what is what pass 20 tabs :laughing:
    I can't picture how a multiprocess browsers could split/share system resources for each of them.

    Let see, I think to approach the same feat. Vivaldi need to cut some API, maybe Split frame, Stacks, Hibernate caller or others that will be called every Tab frame open. If there none of them, the code will be leaner. I think, probably option to turn off completely? We did the same in Firefox, to make it leaner, turn off everything default. Opera New did it by kick out almost every Chromium default and re-build from scratch, in years.

    I don't know what maneuver Vivaldi devs needed to tune up for that use case scenario.

    I use "Lazy Load Restored Tabs", since every single browser has that option already, so tabs don't load until activated. Frequent restart is needed when all of RAM hogs up, alternatively I can discard tabs, since it has been implemented for a while now, but it does not unload entire tab's memory which is a bummer. CPU wise Vivaldi behaves well, no problems here.

    The only obvious problem here is that when resizing window, Vivaldi tries to refresh UI, like tabs were visible. So yeah devs would need to stop callers/handlers/listeners (however they call them in their API) responsible for TabBar refreshing part when Tab bar is hidden.


    I ya... you play with common.css directly?
    I expect you use this way?
    https://forum.vivaldi.net/topic/10549/modding-vivaldi

    No, I don't modify it. I just took a look what's in there. I can tell, it's pretty huge chunk of css, so it would be hard not to screw something up ;)


  • Vivaldi Translator

    @kroppy
    Remember, I'm not against your use scenario. :smile:

    I like to see people try many ideas to Vivaldi & see report they manage to stomp it to its knee.
    It's one way to push Vivaldi developments further.
    I'm not Vivaldi devs, so, I believe my comments annoy the hell out of them :rofl:

    alternatively I can discard tabs

    Linux version not yet fully enjoy or suffer that feature. It's parts already here though.

    I see trend since long time ago. Firefox, Opera, Chrome tend to throw any new ideas to Windows version first. If it's stable, then try Mac, next is Linux then if lucky, BSD.
    Linux version only enjoy for deadly stable for normal use scenario. I mean as browser, not as Swiss Army knife tool.



  • @dLeon said in Performance problem with a lot of tabs open and with TabBar disabled:

    I'm not Vivaldi devs, so, I believe my comments annoy the hell out of them

    hahaha just like me ;)

    Linux version not yet fully enjoy or suffer that feature. It's parts already here though.

    My brother uses Linux, but he sticks with Firefox with some kind of tree tabs and unloading extensions. He switched from anything Chromium based, for this very reason, but it was long before tabs discarding was introduced... But if you say it's not working correctly I won't bother him to try. He was surprised with audio muting option in Vivaldi tho, something he does not have in Firefox ;)



  • Wow! Latest build of Vivaldi (1.9.818.22) Works flawlessly! It looks like they fixed something! Resizing Window is instant! Thank you so much guys :)


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.