Closed Bug 295027 Opened 20 years ago Closed 18 years ago

Marquee with resized images uses 99% CPU time

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: danigri, Unassigned)

References

()

Details

(Keywords: perf, testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050514 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050514 Firefox/1.0.3

Any page with a Marquee with Images in it makes CPU Load grow to 75% or more.
The Images don't run as they were suposed to, they break once in a while.

Reproducible: Always

Steps to Reproduce:
1. open a page with images in a marquee tag
2.
3.

Actual Results:  
CPU Load up to 75%, and the Images don't run as they were suposed to, they break
once in a while.

Expected Results:  
CPU normal Load and marquee normal scroll with images.
Attached file reduced testcase
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050521
Firefox/1.0+ ID:2005052104

Sort of minimized testcase. Again, can't get it to validate because it uses
<marquee> so I don't know what doctype to use.

Anyway, the problem here isn't the fact that there are images in the marquee,
it's that the images inside the marquee are all resized with "width=120
height=120".

If you remove the "width=120 height=120" from the five pictures, they all
scroll fine with minimal CPU usage; so I guess the CPU cycles are being eaten
up by constantly resizing the images everytime the marquee is redrawn.
Keywords: testcase
Summary: Marquee with Images CPU Load goes crazy → Marquee with resized images uses 99% CPU time
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050519
Firefox/1.0+ ID:2005051922

testcase WFM (low load)
url=100% mem usage
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → Trunk
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a5pre) Gecko/20070522 Minefield/3.0a5pre

This is WFM, too. ->WORKSFORME
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: perf
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: