Closed Bug 708069 Opened 13 years ago Closed 12 years ago

takes two seconds to render ad header of www.autoblog.com (hardware acceleration, gradients & transparency, oh my!)

Categories

(Core :: Graphics, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: blizzard, Unassigned)

References

()

Details

(Keywords: perf)

Attachments

(1 file, 1 obsolete file)

1. Load the URL: www.autoblog.com/2011/12/06/2013-mazda-cx-5-first-drive-review/ 2. Note that it takes a long time to load & render the page 3. If you switch tabs and then back to the page, it can take about 2 seconds to render. 4. If you scroll down on the page and then switch back and forth between tabs it's very fast, so the problem is just the very top ad header Tested on a Nightly with Windows 7.
OK, so it's actually an ad header that doesn't always show up. Trying to capture it.
Attached file zip file of the page as rendered (obsolete) —
Summary: takes two seconds to render the header of www.autoblog.com → takes two seconds to render ad header of www.autoblog.com
The perf problem comes from this style rule on the top of the page: #ad_banner { background-image: -moz-linear-gradient(63deg, #151515 5px, transparent 5px), -moz-linear-gradient(243deg, #151515 5px, transparent 5px), -moz-linear-gradient(63deg, #222222 5px, transparent 5px), -moz-linear-gradient(243deg, #222222 5px, transparent 5px), -moz-linear-gradient(0deg, #1B1B1B 10px, transparent 10px), -moz-linear-gradient(#1D1D1D 25%, #1A1A1A 25%, #1A1A1A 50%, transparent 50%, transparent 75%, #242424 75%, #242424); }
Attached file reduced test case
Attachment #579430 - Attachment is obsolete: true
Looks like the page just uses -moz-linear-gradient with transparency and that is just plain expensive on Windows. It makes this page super-slow.
Keywords: perf
Note: if I disable hardware acceleration the problem goes away.
Summary: takes two seconds to render ad header of www.autoblog.com → takes two seconds to render ad header of www.autoblog.com (hardware acceleration, gradients & transparency, oh my!)
Bas, this sounds like your sort of thing!
Hi, Bas! What's up, baby?
This (given URL and Attachment 579455 [details]) is fixed/WFM with Bug 823147 fixed.
Depends on: 823147
Also WFM in today's nightly
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: