Closed
Bug 1414575
Opened 8 years ago
Closed 7 years ago
PeerPad has a really bad time with WebRender
Categories
(Core :: Graphics: WebRender, defect, P4)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | unaffected |
| firefox58 | --- | unaffected |
People
(Reporter: jrmuizel, Assigned: ethlin)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [wr-reserve])
Updated•8 years ago
|
Whiteboard: [wr-mvp] [triage]
| Reporter | ||
Comment 1•8 years ago
|
||
This is probably blur related. We should retry after https://github.com/servo/webrender/pull/1961 lands.
Updated•8 years ago
|
Blocks: stage-wr-trains
status-firefox57:
--- → unaffected
status-firefox58:
--- → unaffected
Priority: -- → P2
Updated•8 years ago
|
Whiteboard: [wr-mvp] [triage] → [wr-mvp]
Comment 2•8 years ago
|
||
I believe #1961 landed and this page is still pretty bad (and renders incorrectly).
Comment 3•8 years ago
|
||
This is indeed blur related. The two <a> elements for "IPFS" and for "CRDTs" each have an ::after pseudo element which has box-shadow: -350px -20px 1000px 22px #23e0f7 set on it. That's a 1000px radius blur.
Updated•8 years ago
|
Status: NEW → ASSIGNED
Priority: P2 → P1
| Assignee | ||
Comment 5•8 years ago
|
||
Looks like the performance bottleneck is not box-shadow anymore. I sent a PR 2096[1] to fix the rendering problem. I will keep investigating the next performance bottleneck in this page.
[1] https://github.com/servo/webrender/pull/2096
| Assignee | ||
Comment 6•8 years ago
|
||
I should say the blur is not the bottleneck. According to my local test, we spend 25ms on GPU, and clip takes more than 10ms. I think it's because the clip shape is ellipse and webrender doesn't handle ellipse clip efficiently. I'll have a PR to fix it.
| Assignee | ||
Comment 7•8 years ago
|
||
| Assignee | ||
Comment 8•8 years ago
|
||
PR 2158[1] also helps. Right now the GPU time is about 11ms on my MBP.
[1] https://github.com/servo/webrender/pull/2158
Updated•8 years ago
|
Blocks: webrender-site-issues
| Assignee | ||
Comment 9•8 years ago
|
||
The FPS of scrolling on my device is about 50~60fps now. Jeff, do you think we can close this bug?
Flags: needinfo?(jmuizelaar)
| Reporter | ||
Comment 10•8 years ago
|
||
I only get around 30fps on that page and see 30+ ms composites: https://perfht.ml/2nE69al
Flags: needinfo?(jmuizelaar)
Updated•8 years ago
|
Whiteboard: [wr-mvp] → [wr-reserve]
Updated•8 years ago
|
Priority: P1 → P3
| Reporter | ||
Comment 11•7 years ago
|
||
This is better but still not great.
Updated•7 years ago
|
Priority: P3 → P4
Comment 12•7 years ago
|
||
Jeff -- What issues remain? How bad are they? How difficult are they to hit?
Flags: needinfo?(jmuizelaar)
| Reporter | ||
Comment 13•7 years ago
|
||
I tried this out on some older nvidia desktop hardware and still got 30ms composites. So we could definitely do better.
Depends on: picture-caching
Flags: needinfo?(jmuizelaar)
| Reporter | ||
Comment 14•7 years ago
|
||
This seems to work reasonably well now.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•