Closed
Bug 110246
Opened 23 years ago
Closed 23 years ago
[DHTML] poor animation at 100% CPU
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
People
(Reporter: markushuebner, Assigned: jst)
References
()
Details
(Keywords: perf, testcase)
Just click "start revive" to start the animation. It performs very bad.
On the page the author says: "The animation is done using a simple sine table,
and using a interval the layers are placed at the next position from the sine
table."
Reporter | ||
Updated•23 years ago
|
Comment 1•23 years ago
|
||
Interesting. On Linux, I see the following in a jprof profile:
88% of time is spent in poll()
7% of time is spent in select()
That would seem to point to bug 86632 or something along those lines.
That should not be an issue on Windows, however. Is there a bigger issue here
with timers in general?
Comment 2•23 years ago
|
||
Assuming the moveTo function sets style.left and style.top, I'm going to guess
it's the same problem as Bug 64516, Bug 40988, and others.
Removing the first moveTo line results in 33 - 60% CPU Usage. Removing both
moveTo lines makes CPU Usage go down to 0. (Win2k PIII-733, Build 2001111303)
The speed of style setting is something that's going make people stay with IE.
Reporter | ||
Updated•23 years ago
|
Keywords: mozilla1.0
Updated•23 years ago
|
Keywords: mozilla1.0+
Updated•23 years ago
|
Keywords: mozilla1.0
Reporter | ||
Updated•23 years ago
|
OS: Windows 2000 → All
Hardware: PC → All
Comment 4•23 years ago
|
||
*** This bug has been marked as a duplicate of 21762 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 5•23 years ago
|
||
if it's a dupe of bug #21762 the dependency on *that* bug should be removed.
(I'd like to do that but have no rights).
You need to log in
before you can comment on or make changes to this bug.
Description
•