GNOME Bugzilla – Bug 315232
throbber uses lots of cpu
Last modified: 2005-10-02 11:22:49 UTC
Please describe the problem: I start my computer and there is no net access. Epiphany however wants to go to the sites I last had open, and the throbber is running the whole time. This actually consumes more cpu than playing an ogg in rhythmbox. I switch to the ephiphany window, click ok on the dialogs telling me it can't get to the sites, and the cpu use goes down noticeably. Epiphany 1.7.6 on breezy ppc. Steps to reproduce: 1. Unplug your network cable 2. Open a few tabs for different web sites 3. Check cpu usage Actual results: About 3,5% cpu usage per tab when the powerbook is running at half-speed (750 MHz). So if you have 5 tabs that epiphany wants to open, that's like 18,5% of the cpu doing nothing, even if it's on another destop. Expected results: For it not to hog my cpu :) Does this happen every time? Yes Other information: Forward upstream from http://bugzilla.ubuntu.com/show_bug.cgi?id=13566
I'm not sure why it's using so much CPU... it's just painting a tiny pixbuf. Admittedly, it's doing that 10 times per second, but lowering that frequency makes the display be noticeably stuttering...
Created attachment 51794 [details] [review] don't spin hidden spinners One tiny optimisation is not to spin unmapped spinners (i.e. hidden ones, those where the tab label is hidden). Can you try if this makes any difference?
Ping?
I committed this patch. Closing this bug because of lack of response from the reporter; if the bug persists in 1.8.1 please re-open.
Sorry for not responding, and thanks for making the patch. I'll update my CVS and give it a go.