Open
Bug 1135697
Opened 10 years ago
Updated 3 years ago
Simple SVG animation causes increased CPU usage and poorer rendering performance
Categories
(Core :: SVG, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: antoine, Unassigned)
Details
Attachments
(1 file)
226 bytes,
image/svg+xml
|
Details |
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.
![]() |
||
Comment 1•10 years ago
|
||
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.
Reporter | ||
Comment 2•10 years ago
|
||
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.
Reporter | ||
Comment 3•10 years ago
|
||
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.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•