User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 (Beta/Release) Build ID: 20130401133152 Steps to reproduce: Goto page with animated favicon such as: http://www.nedprod.com/programs/portable/nedtries/ Open a new tab so that the page with animated favicon is not visible. Actual results: Observe significantly higher cpu. If tab with animated favicon is not active cpu usage should stay low. Expected results: Constant high cpu usage despite what tab is selected. Suggesting that Firefox stops animated favicons while tab is not active.
Component: Untriaged → Tabbed Browser
See Also: → bug 111373
Summary: animated favicon causes high cpu usage even though tab is not being viewed → animated favicon causes high cpu usage even though tab is not being viewed; do not animate favicons of inactive tabs?
Juha, what do you mean by significantly higher cpu? I've tested on the same FF version as you and I saw a cpu increase for about 3%.
There is ~ten fold increase in cpu usage: from 0.2 - 1.0 % to 8 - 16 %. $ rpm -q firefox firefox-21.0-3.fc17.x86_64 CPU: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
Confirmed with Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130609 Firefox/24.0 ID:20130609031230 CSet: efbe547a7972
Component: Tabbed Browser → ImageLib
Product: Firefox → Core
Version: 20 Branch → Trunk
I can confirm this on Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23 -- my CPU usage goes from 4% to 45%. Perhaps a better solution to this problem would be the one proposed in Bug 111373.
Confirmed on gentoo linux 64bit using firefox 29.0.1: "Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0" CPU load (according to "top") is between 7% and 15% with the mentioned website with the animated favicon visible in the non-active tab. If I close that tab, CPU load is at 1% with some peaks at 4%. ("Intel Xeon CPU W3550 @ 3.07GHz")
Problem still reproducible with Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23.
Oops -- I meant to write Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30.
You need to log in before you can comment on or make changes to this bug.