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)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
Details
We mostly seem to be getting hurt with allocations.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jmuizelaar
Assignee | ||
Updated•7 years ago
|
Priority: -- → P1
Assignee | ||
Updated•7 years ago
|
Blocks: stage-wr-nightly
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
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.
Assignee | ||
Comment 4•7 years ago
|
||
gfxCallbackDrawable::MakeSurfaceDrawable is the caller to CreateSimilarDrawTarget
Assignee | ||
Comment 5•7 years ago
|
||
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 }
Assignee | ||
Comment 6•7 years ago
|
||
This has been mostly fixed. The remaining problems are mostly caused by bug 1456558
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Comment 7•6 years ago
|
||
(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.
Description
•