Closed Bug 851413 Opened 12 years ago Closed 10 years ago

Dynamic resizing a single image can eat 2 CPU cores

Categories

(Core :: Graphics: ImageLib, defect)

22 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayankleoboy1, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20130314 Firefox/22.0 Build ID: 20130314030914 Steps to reproduce: 1. Start a fresh profile 2. Go to http://www.tweaktown.com/news/29104/netflix-offering-100-000-in-prizes-to-those-who-can-best-improve-the-cloud/index.html 3. Bring the mouse pointer over the main image. 4. A dynamic pop up of the full size image will appear. As you move the mouse inside the image, the pop-up image will dynamically resize to best fit teh screen. 5. Open Task Manager , and repeat step 3/4. Actual results: Firefox is using 2 full CPU cores. So on a Quad core, you get 50% CPU usage. Expected results: Lesser CPU use, mayb. I am not sure if this is a bug, or the intended behavior. In any case using that much CPU for a single image looks gratuitous.
Component: Untriaged → ImageLib
Product: Firefox → Core
Profile shows 30% flushing layout, 20% running page JS, 14% painting.
the page layout has changed. So the dynamic resize of images is not there.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.