Closed Bug 1439760 Opened 7 years ago Closed 7 years ago

http://makeyourmoneymatter.org/ has performance issues with blob image invalidation

Categories

(Core :: Graphics: WebRender, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: jrmuizel, Assigned: jrmuizel)

References

Details

We mostly seem to be getting hurt with allocations.
Assignee: nobody → jmuizelaar
Priority: -- → P1
So there's a big svg background image. We seem to draw this to a similar surface that's very big. We do this for every tile. This makes much sad. Also, clipping makes things much worse.
gfxCallbackDrawable::MakeSurfaceDrawable is the caller to CreateSimilarDrawTarget
We're repeating because of 161 if ((IsRepeatingExtendMode(aExtendMode) || aOpacity != 1.0 || aContext->CurrentOp() != CompositionOp::OP_OVER) && 162 !mSurfaceDrawable) { -> 163 mSurfaceDrawable = MakeSurfaceDrawable(aContext, aSamplingFilter); 164 }
Depends on: 1435291
This has been mostly fixed. The remaining problems are mostly caused by bug 1456558
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Depends on: 1456558
(In reply to Jeff Muizelaar [:jrmuizel] from comment #6) > This has been mostly fixed. The remaining problems are mostly caused by bug > 1456558 Seems to be performing well. I can probably improve the trimming of surfaces after the fact as it seems if you start with a large size, and scroll to something smaller, it kicks into factor of 2 mode but won't aggressively discard the old large surfaces (because we don't have a factor of 2 replacement...hmmm). But that is a temporary waste of memory that 60 seconds will resolve when they expire out of the cache.
You need to log in before you can comment on or make changes to this bug.