Closed Bug 1454414 Opened 6 years ago Closed 3 years ago

Categories

(Core :: Graphics, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Performance Impact low

People

(Reporter: bkelly, Unassigned)

References

Details

(Keywords: perf)

Visit:

http://themaninblue.com/experiment/eclipse/

Move your mouse around to trigger the animation.  Note the low fps.

Profile:

https://perfht.ml/2qD3JXL
Chrome seems to run at 60fps.  Edge seems to run slower than FF nightly.
Looks like most of the time is spent within DrawTargetD2D1::CreatePathBuilder (for a rounded rectangle), waiting on a critical section. No obvious contention from any other gecko threads in the profile.

I don't remember why we needed threadsafe d2d, but maybe we could try cache these objects internally somehow.
Component: Layout: Web Painting → Graphics
Flags: needinfo?(bas)
with WR, we are smoother than Chrome (Wintel+iGFX system)
Bas, can please take a look at this bug?
Tested with WebRender on Linux and this performs really smoothly for me as well.  This problem will likely go away as webrender lands.
Hey Bas, any thoughts on comment 2?
I have a patch that should address this, I forgot in which bug, I've never quite been convinced there's usecases important enough to justify the effort, it would probably take a day or two. If this is that usecase, that seems reasonable, not sure if it is.
Flags: needinfo?(bas)
This *might* have regressed a bit on WR+Wintel+iGFX system in maybe a week or two. Chrome *feels* smoother

Here is a profile with WR-y threads added: https://perfht.ml/2sBmHPm
Whiteboard: [qf] → [qf:f64][qf:p1]
Whiteboard: [qf:f64][qf:p1] → [qf:f64][qf:p3]
Whiteboard: [qf:f64][qf:p3] → [qf:p3:f64]
Whiteboard: [qf:p3:f64] → [qf:p3]
Status: NEW → RESOLVED
Type: enhancement → defect
Closed: 3 years ago
Resolution: --- → FIXED
Performance Impact: --- → P3
Whiteboard: [qf:p3]
You need to log in before you can comment on or make changes to this bug.