Closed
Bug 486059
Opened 16 years ago
Closed 15 years ago
Animated javascript background causes Minefield to hog the CPU (or 1 core) while tab is active.
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: geeknik, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b4pre) Gecko/20090330 Shiretoko/3.5b4pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b4pre) Gecko/20090330 Shiretoko/3.5b4pre
Visiting http://www.dseffects.com/scriptsfx/DS_BGScroll/DS_BGScroll.html causes the latest build of Firefox 3.5b4pre to use 100% of the CPU while the tab is active. When the tab is in the background, CPU usage drops off to almost nothing.
Reproducible: Always
Steps to Reproduce:
1. Visit http://www.dseffects.com/scriptsfx/DS_BGScroll/DS_BGScroll.html
2. Open Task Manager
3. Watch firefox.exe use 100% of the CPU.
Actual Results:
Firefox 3.5b4pre uses 100% of the CPU.
Expected Results:
Firefox should not hog the CPU while executing javascript.
Comment 1•16 years ago
|
||
Hmm, this also seems ok on the trunk.
Comment 2•16 years ago
|
||
These make good benchmarks, though
Comment 3•16 years ago
|
||
Runs at about 30% on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4pre) Gecko/20090330 Shiretoko/3.5b4pre
Reporter | ||
Comment 4•16 years ago
|
||
Robert, thanks for letting me know. Boris told me over @ my other bug, https://bugzilla.mozilla.org/show_bug.cgi?id=470831, that I should submit a bug for each site that exhibits a performance issue, so here I am. Good to know javascript is being worked on for the trunk builds and hopefully we'll see some more branch landings soon.
Comment 5•16 years ago
|
||
Brian,
What platform are you using? We should check this out just to make sure. Be as specific as possible.
Reporter | ||
Comment 6•16 years ago
|
||
Windows Vista Ultimate SP2, Core2Quad Q9450 (Overclocked from 2.66ghz to 3.0ghz per core), 4GB DDR2, etc. IE8 and Chrome 2.0.x exhibit the same behavior as 3.5b4pre.
Comment 7•16 years ago
|
||
Firefox 3 and 3.6 are using more CPU than Firefox 2 but they don't hang.
Reporter | ||
Comment 8•16 years ago
|
||
3.5b4pre build 20090402045633 still exhibits this behavior despite all the TM landings earlier this week. Also the behavior of the script is incorrect under Firefox 3.5b4pre, as the scrolling doesn't change direction based on your mouse movement, but I can file that as a separate bug if need be.
Reporter | ||
Comment 9•16 years ago
|
||
Behavior is still wrong, and CPU usage is still very high while this is running, 3.5b4pre Build 20090416044319 on XP SP3. Same hardware as comment #6, just a different OS.
Reporter | ||
Updated•16 years ago
|
Component: General → GFX: Thebes
Product: Firefox → Core
Version: unspecified → 1.9.1 Branch
Updated•16 years ago
|
QA Contact: general → thebes
Reporter | ||
Comment 10•15 years ago
|
||
This issue is still present in 3.7a1pre, build 20091015051159. It's using 100% of 1 core on my Q6600 when I have the tab active. Win7 Pro x64.
OS: Windows Vista → Windows 7
Hardware: x86 → x86_64
Version: 1.9.1 Branch → Trunk
Reporter | ||
Comment 11•15 years ago
|
||
Unable to replicate this in the latest hourly build of Minefield.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Summary: Animated javascript background causes Firefox 3.5b4pre to use 100% of the CPU while tab is active. → Animated javascript background causes Minefield to hog the CPU (or 1 core) while tab is active.
You need to log in
before you can comment on or make changes to this bug.
Description
•