consider to use higher priority for the imglib tasks
Categories
(Core :: Graphics: ImageLib, enhancement, P3)
Tracking
()
People
(Reporter: smaug, Assigned: smaug)
References
Details
(Keywords: perf-alert)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
Imglib uses currently mediumhigh priority, but I'd like to try to use higher than vsync priority. Initial tryserver runs hint that this could reduce some bimodality of some visual page load metrics .
Assignee | ||
Comment 1•3 years ago
|
||
Depends on D127935
Assignee | ||
Comment 2•3 years ago
|
||
Based on try this improves google slides vismet quite a bit on Fission (linux/mac), but does cause some smaller regressions elsewhere.
Non-perf tests looked ok, hopefully landing doesn't reveal any issues.
It is a bit hard to get the big picture for scheduling changes without landing and running all the perf tests and getting enough tests runs so I'm planning to try to land this and if this doesn't look good enough, backout on Monday at latest.
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0532dcb4d092 consider to use higher priority for the imglib tasks r=tnikkel
Comment 4•3 years ago
|
||
bugherder |
Assignee | ||
Comment 5•3 years ago
•
|
||
Comment on attachment 9244950 [details]
Bug 1734811 - consider to use higher priority for the imglib tasks r=tnikkel
Beta/Release Uplift Approval Request
- User impact if declined: Slower page loads especially with Fission
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: Bug 1734809
- Risk to taking this patch: Medium
- Why is the change risky/not risky? (and alternatives if risky): Currently imglib uses mediumhigh priority when it posts tasks to the main thread. The patch increases the priority so that images can be painted even sooner. All this is already asynchronous, so changing the scheduling a bit shouldn't be very risky.
- String changes made/needed: NA
Comment 6•3 years ago
|
||
Comment on attachment 9244950 [details]
Bug 1734811 - consider to use higher priority for the imglib tasks r=tnikkel
Approved for 94.0b5.
Comment 7•3 years ago
|
||
bugherder uplift |
Updated•3 years ago
|
Updated•3 years ago
|
Comment 8•3 years ago
|
||
== Change summary for alert #31810 (as of Mon, 11 Oct 2021 15:08:03 GMT) ==
Improvements:
Ratio | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|
5% | bing-search-restaurants dcf | android-hw-g5-7-0-arm7-shippable-qr | warm webrender | 379.52 -> 359.12 |
4% | cnn-ampstories loadtime | android-hw-g5-7-0-arm7-shippable-qr | warm webrender | 628.38 -> 604.50 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=31810
Updated•3 years ago
|
Description
•