Use crossbeam_channel instead of std::mpsc in WebRender
Categories
(Core :: Graphics: WebRender, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox81 | --- | fixed |
People
(Reporter: nical, Assigned: nical)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 3 obsolete files)
The main motivation is to have access to crossbeam's select feature, in the hope that we can remove some hacks we do with some even loops that pull from multiple channels. As a bonus crossbeam is reportedly much faster than std::mpsc.
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
Depends on D81040
| Assignee | ||
Comment 3•5 years ago
|
||
Depends on D81041
| Assignee | ||
Comment 4•5 years ago
|
||
This introduces a slight behavior change in that the backend messages will go directly to the scene builder thread without going through the low-priority scene builder. In most cases this should not be an issue because it only contains debugging related messages originating from user inputs so respective ordering with specific transactions is already not possible to enforce/observe.
| Assignee | ||
Comment 5•5 years ago
|
||
This introduces a slight behavior change in that the backend messages will go directly to the scene builder thread without going through the low-priority scene builder. In most cases this should not be an issue because it only contains debugging related messages originating from user inputs so respective ordering with specific transactions is already not possible to enforce/observe.
Comment 7•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c73ffc91ade2
https://hg.mozilla.org/mozilla-central/rev/50a2b61977d5
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 8•5 years ago
|
||
== Change summary for alert #26628 (as of Fri, 31 Jul 2020 02:32:27 GMT) ==
Improvements:
5% tscrollx linux64-shippable-qr opt e10s stylo 1.64 -> 1.56
4% tscrollx linux64-shippable-qr opt e10s stylo 1.63 -> 1.57
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=26628
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Description
•