Closed
Bug 1070722
Opened 10 years ago
Closed 10 years ago
[Mac] Imgur slow to scroll. Single image display item takes 1.2 seconds to draw
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: BenWa, Assigned: mattwoodrow)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
2.69 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
URL: http://imgur.com/a/U8pSW
http://people.mozilla.org/~bgirard/cleopatra/#report=49e182f4df7923395dd0f69f9f58a3299ed40bf0
I've noticed imgur being really bad lately. It feels almost unusable without adblock.
Chrome can scroll this page smoothly. Comparing the two, their progressive decode is much more noticeable then ours. But if you look at the profile the problem is the time it takes to draw the image.
Jeff do you remember what the resample_byte_*_cpp_vector paths are? Is this high quality downscale?
Flags: needinfo?(jmuizelaar)
Reporter | ||
Comment 1•10 years ago
|
||
[Tracking Requested - why for this release]:
This is a severe performance regression.
A regression window here would really help.
tracking-firefox35:
--- → ?
Keywords: regression,
regressionwindow-wanted
Summary: Imgur slow to scroll. Single image display item takes 1.2 seconds to draw → [Mac] Imgur slow to scroll. Single image display item takes 1.2 seconds to draw
Comment 2•10 years ago
|
||
The profile is spending time in hq downscale. Perhaps this is broken caching of downscaled results.
Flags: needinfo?(jmuizelaar)
Comment 3•10 years ago
|
||
This is hopefully the right range:
Last good nightly: 2014-09-03
First bad nightly: 2014-09-04
Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e58842c764dd&tochange=776fa9cf70cd
Comment 4•10 years ago
|
||
Tiling (bug 982338) is in that range.
Maybe we're doing a whole-image downscale for each tile that an image covers?
Blocks: osx-tiling
Keywords: regressionwindow-wanted
Comment 5•10 years ago
|
||
Yup, that's it. Confirmed through bisecting.
Assignee | ||
Comment 6•10 years ago
|
||
I disabled the OptimizeSourceSurface code since we no longer get much benefit from retaining the CGImage and it lets us skip a copy of the image data.
Assignee: nobody → matt.woodrow
Attachment #8494051 -
Flags: review?(jmuizelaar)
Comment 7•10 years ago
|
||
Comment on attachment 8494051 [details] [diff] [review]
Disable Quartz high-quality downscaling
And enable our own HQ downscaler in the prefs on mac?
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8494051 -
Attachment is obsolete: true
Attachment #8494051 -
Flags: review?(jmuizelaar)
Attachment #8494061 -
Flags: review?(jmuizelaar)
Comment 9•10 years ago
|
||
I guess we won't need this code anymore?
http://mxr.mozilla.org/mozilla-central/source/image/src/Decoder.cpp?force=1#255
Comment 10•10 years ago
|
||
Comment on attachment 8494061 [details] [diff] [review]
Disable Quartz high-quality downscaling v2
Review of attachment 8494061 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/2d/DrawTargetCG.cpp
@@ +249,5 @@
>
> TemporaryRef<SourceSurface>
> DrawTargetCG::OptimizeSourceSurface(SourceSurface *aSurface) const
> {
> + return aSurface;
Can we do this change separately?
Attachment #8494061 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 11•10 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #10)
>
> Can we do this change separately?
Sure, how separately do you want? Different patches, different landings, different bug?
Comment 12•10 years ago
|
||
Separated landings, so that regression windows find the other one.
Assignee | ||
Comment 13•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b5705fbed44f
Landed the first half, will land the rest soon.
Keywords: leave-open
I had to back this out in https://hg.mozilla.org/integration/mozilla-inbound/rev/a0838b04a1e4 for reftest failures: https://tbpl.mozilla.org/php/getParsedLog.php?id=48996619&tree=Mozilla-Inbound
Flags: needinfo?(matt.woodrow)
Assignee | ||
Comment 15•10 years ago
|
||
Flags: needinfo?(matt.woodrow)
Assignee | ||
Comment 16•10 years ago
|
||
Assignee | ||
Comment 17•10 years ago
|
||
Comment 18•10 years ago
|
||
Reporter | ||
Comment 19•10 years ago
|
||
I justed tested with today' night. Things are better. We're still a tad jerky scrolling pages with large images however.
Assignee | ||
Comment 20•10 years ago
|
||
You should get a profile :)
I've noticed huge janks when the flash ad becomes visible, you wouldn't be getting that if you have adblock though.
Reporter | ||
Comment 21•10 years ago
|
||
You want to solve this here or spin off a new bug?
Assignee | ||
Comment 22•10 years ago
|
||
Probably a new bug, we've already fixed something here.
Assignee | ||
Comment 23•10 years ago
|
||
Keywords: leave-open
Comment 24•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Updated•10 years ago
|
Updated•10 years ago
|
status-firefox35:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•