Closed Bug 752029 Opened 12 years ago Closed 12 years ago

Low resolution tiles when panning on photo blog take a while to resolve

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(blocking-fennec1.0 +)

RESOLVED DUPLICATE of bug 753028
Tracking Status
blocking-fennec1.0 --- +

People

(Reporter: jfu, Unassigned)

References

()

Details

(Whiteboard: [Engagement] [PMM])

Attachments

(1 file)

Attached image Screenshot
Web page or screen you were on when you saw the issue: nomnompaleo.com

Steps to reproduce:
1. Go to nomnompaleo.com
2. Scroll down quickly

What you expected: Clear photos in the blog posts, but instead they were blurry and distorted for a while before the page finished rendering

Crash report ID (if applicable):
This is low-resolution based caching of the page replacing checker-board at work here: bug 746016.
Adding Jeff, he may be able to profile why the draws are taking so long.
A couple of things are going on here:
First, the java screen shots take about 1.2 to 1.3 seconds, during which we can't paint the main content.

Screenshot painting time is dominated by bluring and text painting. (about 45.5% of paint time is bluring). The bluring comes from the box-shadow around the photos and around the main area.

Second, during regular paint the time is dominated by a mask operation. I'm not sure what's causing this yet.

During regular drawing, paints take about 200ms which doesn't seem totally unreasonable. The bigger problem here is likely java blocking gecko.
Depends on: 753010
The java screenshotting code also seems to run every 2.5s
I see this pretty bad on the bug URL; Galaxy Nexus (4.0.4), Nightly (05/14).
tracking-fennec: --- → ?
blocking-fennec1.0: --- → ?
Summary: Photos on blog are blurry when panning → Low resolution tiles when panning on photo blog take a while to resolve
oops.  placed the blocked in the wrong bug.  correcting by removing.
No longer blocks: 707195, font-inflation
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
tracking-fennec: ? → ---
blocking-fennec1.0: ? → +
(In reply to Jeff Muizelaar [:jrmuizel] from comment #3)
> A couple of things are going on here:
> First, the java screen shots take about 1.2 to 1.3 seconds, during which we
> can't paint the main content.
> 
> Screenshot painting time is dominated by bluring and text painting. (about
> 45.5% of paint time is bluring). The bluring comes from the box-shadow
> around the photos and around the main area.

Perhaps we should be throttling the low-res cache more aggressively? And/or try to cut down on the amount of invalidation that happens to it?
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: