High memory and CPU usage during video playback on Twitch with webrender software fallback
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: impossibus, Assigned: lsalzman)
References
(Blocks 1 open bug)
Details
(Keywords: perf-alert)
Attachments
(1 file)
Perhaps this is expected with webrender.software=true? My laptop fans go wild as soon as I start playing a video on Twitch. I do not get the same fan noise when I watch a long YouTube video, say.
I recorded two performance profiles under pretty much the same conditions (fresh profile, the Nightly versions are different but close together). In both cases, the steps during the recording are:
- Navigate to Twitch page - video autoplays
- Let it play for a while
- Navigate to firefox.com
Comment 1•5 years ago
|
||
It looks like you didn't publish the profiles. Can you gather some new ones and publish them?
| Reporter | ||
Comment 2•5 years ago
|
||
D'oh! Sorry.
Now I get "Error publishing" on profiler.firefox.com. Maybe it's too big? I'll try again on Monday.
| Reporter | ||
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
It looks like those profiles were taken with screenshots turned on. Can you redo them with "Firefox Graphics" preset?
| Reporter | ||
Comment 5•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Reporter | ||
Comment 7•5 years ago
|
||
I think 3840 x 2160 but I don't have access to the system in question anymore.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 8•5 years ago
|
||
It looks like perhaps the most actionable thing here is the time spent in cs_clip_box_shadow. Most everything else is hitting fast-paths.
Updated•5 years ago
|
| Assignee | ||
Comment 9•5 years ago
|
||
This adds a span shader that tries to treat the box shadow as a nine-patch
and intersect with the various sectors of it. This allows committing entire
contiguous spans of texture from the source box shadow rather than doing
slower per-fragment processing.
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
| bugherder | ||
Updated•5 years ago
|
Comment 12•5 years ago
|
||
== Change summary for alert #30123 (as of Wed, 19 May 2021 03:25:26 GMT) ==
Improvements:
| Ratio | Suite | Test | Platform | Options | Absolute values (old vs new) |
|---|---|---|---|---|---|
| 2% | tresize (docs) | linux1804-64-shippable-qr | e10s stylo webrender-sw | 20.62 -> 20.14 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=30123
Updated•5 years ago
|
Description
•