Closed Bug 155516 Opened 23 years ago Closed 17 years ago

Swap Image Eats 100% CPU

Categories

(Core :: Layout, defect, P3)

x86
Windows XP
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: mozilla, Assigned: dcone)

References

()

Details

(Keywords: perf)

Visit the URL and move your mouse up and down the left menu. Watch Mozilla eat 90 - 100% CPU swapping images and still not succeed in swapping them all. This is with Mozilla 1.0
This was being caused by the page having a background image. Remove the background image and the performance hit is gone. WTH? Further testing indicates that the problem is not within the JS itself, but within the layout of the page. Changing component to layout. Sorry for the spam.
Component: DOM Events → Layout
->default
Assignee: joki → attinasi
Keywords: perf
QA Contact: vladimire → petersen
Priority: -- → P3
Target Milestone: --- → Future
->dcone
Assignee: attinasi → dcone
Is this still a problem? I'm not seeing any heave CPU usage on that page as I hover the images....
Jerry, can you still reproduce this? I can't (Win2k), neither Boris...
Mozilla has reduced its CPU usage on that URL to about 60% or so (2003111616). I don't know whether 60% CPU is an acceptable number for doing image rollovers.
Video card/driver specific issue? Or only visible on older/slower computers? Mine is an Athlon 2600+ with plenty of RAM and an nVidia Ti4200 card. And I have to admit Taskmanager shows up to 40% CPU usage when moving the mouse very fast - which might be a problem on slower computers. BUT swapping images does not show any delay (looks instantaneously(?)), moving the mouse at "reasonable" speed (across the whole menu within 1 second) only leads to about 10% cpu usage. And moving the mouse very fast on this bugzilla page also shows more than 30% CPU, so I assume what you see on that specific page probably has a differnt reason than just a slow computer in terms of MHz.
Jerry, do you still see this? if so, please attach testcase. wfm Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
closing WFM
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.