Open Bug 1135697 Opened 7 years ago Updated 7 years ago

Simple SVG animation causes increased CPU usage and poorer rendering performance

Categories

(Core :: SVG, defect)

35 Branch
x86
macOS
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: antoine, Unassigned)

Details

Attachments

(1 file)

Attached image pulsing-dot.svg
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.5.6 (KHTML, like Gecko) Version/8.0.5 Safari/600.5.6

Steps to reproduce:

See the attached SVG file pulsing-dot.svg. Whenever I open this file in Firefox (35.0.1), CPU usage for both WindowServer and Firefox increase significantly. This testcase is reduced, but in the context of a more complex webpage (which I can't attach to this bug), I can get CPU usage to up to 100% of one core, making my MacBook Pro's fans turn on.



Expected results:

I'd expect CPU usage to be reasonable for such a small animation. Certainly both Safari and Chrome are using a lot less CPU for the very same file.
Which version of Firefox is this, and what's your hardware? I'm not seeing any significant CPU usage change when opening the testcase in FF35 on a 2013 MBP.
MacBook Pro (Retina, 13-inch, Mid 2014) running OS X 10.10.3, Firefox 35.0.1. In case that's relevant, I'm using a scaled resolution at 1680x1050.
When I toggle display="none" on the root element using the dev tools, and then toggle it again, I can definitely see CPU usage reported by Firefox and WindowServer jump, as reported by Activity Monitor.
You need to log in before you can comment on or make changes to this bug.