LWN.net Logo

It's your choice, of course...

It's your choice, of course...

Posted Nov 9, 2011 17:03 UTC (Wed) by mathstuf (subscriber, #69389)
In reply to: It's your choice, of course... by khim
Parent article: Firefox 8 released

> it does not waste all that many resources

Switching focus 4 times incurs a 3 second delay on the whole window (input, clicks, whatever) while the CPU goes to 100% (Core i7@1.8GHz) emptying the event queue (not to mention that the animation doesn't work while the event queue is being processed). More switches seems to be somewhere near quadratic. Luckily I don't do much mousing around, so focus is unlikely to be a trigger (scrolling is usually a heavy hitter when there's a social bar or whatever hanging around).


(Log in to post comments)

It's your choice, of course...

Posted Nov 9, 2011 17:07 UTC (Wed) by mathstuf (subscriber, #69389) [Link]

> Switching focus 4 times incurs a 3 second delay

Shouldn't do the such tests while make -j8 is going. It's closer to 4 times is a 1 second delay, but it's still feels quadratic if it falls behind at all.

This is strage: in my case it only needs few seconds to settle...

Posted Nov 9, 2011 17:25 UTC (Wed) by khim (subscriber, #9252) [Link]

Well, yes, it's not the best design you can imagine, but I think the idea that you can fix it in browser is wrong: if it bothers you that much then just don't visit the site. You don't try to fix normal programs with SELinux policies, why do you want to try to do that with webapps?

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds