Closed
Bug 756964
Opened 13 years ago
Closed 8 years ago
CSS animations of background-color on prefixfree homepage make Firefox 13 use 100% CPU
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: mgol, Unassigned)
References
()
Details
Attachments
(1 file, 2 obsolete files)
1.17 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0
Build ID: 20120517221321
Steps to reproduce:
I visited the -prefix-free webpage:
http://leaverou.github.com/prefixfree/
I did it both with my primary Firefox profile and with a separate one run in -safe-mode with every defaulting option turned on.
Actual results:
The -prefix-free webpage:
http://leaverou.github.com/prefixfree/
makes the newest Firefox 13 beta on Ubuntu 12.04 64-bit use 100% CPU.
Expected results:
It should not use so much CPU.
Reporter | ||
Comment 1•13 years ago
|
||
I don't have a stable Firefox 12 here but I've checked on a separate profile with Firefox 3.6 (yeah, I know) and the problem's not happening so it has to be sth in between.
Reporter | ||
Comment 2•13 years ago
|
||
Both Opera 12 beta and Chrome 19 (stable) don't exhibit the problem so it must be Firefox-related.
Reporter | ||
Comment 3•13 years ago
|
||
It also makes Firefox crash very often, 3 latest submitted crash IDs are:
2012-05-21 08:56 bp-1a31bf78-7848-4213-a56f-0862e2120521
2012-05-21 08:56 bp-d7eca0e3-3c72-42ff-9eed-9e8d12120521
2012-05-21 08:57 bp-3879754c-a9c1-44e9-97ec-939e42120521
Reporter | ||
Comment 4•13 years ago
|
||
Losing tab focus seems to help... I get this CPU usage increase mainly when activating the tab (it remains high over the time, though).
Reporter | ||
Comment 5•13 years ago
|
||
Minimal example (the prefix-free page with as many elements cut out as possible):
mgol.eu/prefixfree_asdgfsaldgsdkfgsdkfgjsdfghsdlkfg
Also, note that high CPU usage happens almost only when the tab is active.
Reporter | ||
Comment 6•13 years ago
|
||
OK, in Firefox 3.6 and Chrome the issue doesn't exist because they don't support the property used. However, Opera 12 does and it does it way more efficiently than Firefox 13 (and doesn't crash in the process).
Reporter | ||
Updated•13 years ago
|
Severity: normal → major
Comment 7•13 years ago
|
||
I am unable to reproduce it with Firefox Nightly 15. I suggest you to try New Profile or Safe Mode and reproduce it.
Reporter | ||
Comment 8•13 years ago
|
||
I've already tried it with a new profile in safe mode and I wrote about it in my first comment...
Reporter | ||
Comment 9•13 years ago
|
||
Most of the CPU usage spike is caused my -moz-animation. Crashes might be a different issue, though...
Reporter | ||
Comment 10•13 years ago
|
||
I created a completely new profile and opened the prefix free page a couple of times. It doesn't crash consistently but it happened a few times. One of reports from this new profile is:
2012-05-21 10:33 bp-1609cebf-6eff-4b77-942c-8e38f2120521
Comment 11•13 years ago
|
||
Could you also reproduce this in the latest Firefox Nightly?
I can't reproduce this either with Ubuntu 12.04 i686. tried with the latest Nightly.
Are you using builds from Mozilla (e.g. mozilla.org) or builds that come with your distribution?
Crashes and high CPU usage belong in different bugs. Based on the summary, this bug should be about the high CPU usage and the crashes belong in a separate bug. (However, the crash reports don't have much information in them; they don't look like reports we'd get from a build that we shipped.)
Component: Untriaged → Layout
Product: Firefox → Core
QA Contact: untriaged → layout
Summary: -prefix-free webpage makes Firefox 13 use 100% CPU → CSS animations (of what?) on prefixfree homepage make Firefox 13 use 100% CPU
Summary: CSS animations (of what?) on prefixfree homepage make Firefox 13 use 100% CPU → CSS animations of background-color on prefixfree homepage make Firefox 13 use 100% CPU
Reporter | ||
Comment 13•13 years ago
|
||
I'm using Firefox from this repository:
https://launchpad.net/~mozillateam/+archive/firefox-next
This repo is maintained by Ubuntu Mozilla Team, the same one that packages official stable builds.
However, I downloaded your 13.0b4 build and the issue (both, actually) still stands.
Reporter | ||
Comment 14•13 years ago
|
||
I created a separate bug report for crashes:
https://bugzilla.mozilla.org/show_bug.cgi?id=757108
Reporter | ||
Updated•13 years ago
|
Comment 15•13 years ago
|
||
Reporter | ||
Comment 16•12 years ago
|
||
And again, disabling (e.g. via Firebug) the -moz-animation parameter from the attachment 626051 [details] fixes the issue.
Can it be sth related to poor graphics drivers? I experience it on Ubuntu 12.04 64-bit with Inter GMA 4500MHD on board.
Reporter | ||
Comment 17•12 years ago
|
||
Another person has confirmed the issue here:
https://github.com/LeaVerou/prefixfree/issues/72#issuecomment-6568279
Comment 18•12 years ago
|
||
I can confirm the issue using the reduced test case attached. I'm running the 16.0a1 (2012-07-16) nightly in safe mode on Ubuntu.
CPU usage is around 100%, and approximately evenly distributed between compiz, Xorg, and RunProcess.
For graphics, I have NVIDIA GeForce GTX 260M/PCIe/SSE2 -- 3.3.0 NVIDIA 295.40
I can also confirm that this issue affects the 1.10 version of firebug. They added some more background animation associated with the Break On Next feature, and when the firebug panel is open it uses quite a lot of CPU.
http://code.google.com/p/fbug/issues/detail?id=5618
Comment 19•10 years ago
|
||
Using Firefox 34.0 on Windows 7 I can't reproduce this huge CPU workload.
Michał, is this still a problem?
Sebastian
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(m.goleb+mozilla)
Reporter | ||
Comment 20•10 years ago
|
||
Updated case with -moz- prefixes removed.
Attachment #626051 -
Attachment is obsolete: true
Reporter | ||
Comment 21•10 years ago
|
||
I can't reproduce it anymore but:
1. I no longer have access to the computer on which I've experienced the bug.
2. I use OS X now so I cannot re-test on Linux.
Perhaps it'd be best if someone with a Linux machince could re-test. Otherwise, it seems good to close.
Flags: needinfo?(m.goleb+mozilla)
Reporter | ||
Comment 22•10 years ago
|
||
Adds a -webkit- prefix to be able to cross-test with Chrome/Safari
Attachment #8537832 -
Attachment is obsolete: true
Reporter | ||
Comment 23•8 years ago
|
||
I think I'll just close it. :)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•