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)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: blizzard, Unassigned)
References
()
Details
(Keywords: perf)
Attachments
(1 file, 1 obsolete file)
775 bytes,
text/html
|
Details |
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.
Reporter | ||
Comment 1•13 years ago
|
||
OK, so it's actually an ad header that doesn't always show up. Trying to capture it.
Reporter | ||
Comment 2•13 years ago
|
||
Reporter | ||
Updated•13 years ago
|
Summary: takes two seconds to render the header of www.autoblog.com → takes two seconds to render ad header of www.autoblog.com
Reporter | ||
Comment 3•13 years ago
|
||
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);
}
Reporter | ||
Comment 4•13 years ago
|
||
Attachment #579430 -
Attachment is obsolete: true
Reporter | ||
Comment 5•13 years ago
|
||
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.
Reporter | ||
Comment 6•13 years ago
|
||
Note: if I disable hardware acceleration the problem goes away.
Reporter | ||
Updated•13 years ago
|
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!)
![]() |
||
Comment 7•13 years ago
|
||
Bas, this sounds like your sort of thing!
Reporter | ||
Comment 8•13 years ago
|
||
Hi, Bas! What's up, baby?
![]() |
||
Comment 9•12 years ago
|
||
This (given URL and Attachment 579455 [details]) is fixed/WFM with Bug 823147 fixed.
Depends on: 823147
Comment 10•12 years ago
|
||
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.
Description
•