Add API to set process high priority
Categories
(GeckoView :: General, task, P2)
Tracking
(firefox-esr91 wontfix, firefox99 wontfix, firefox100 wontfix, firefox101 wontfix, firefox102 fixed)
People
(Reporter: calu, Assigned: calu)
References
(Blocks 1 open bug)
Details
(Whiteboard: [geckoview:m102])
Attachments
(1 file, 1 obsolete file)
(deleted),
text/x-phabricator-request
|
Details |
Instead of deducing the priority based on the extension active priority, add an API to set it high priority. This will allow Gleam metrics to be measured to compare performance and stability metrics for process prioritization on and off.
Comment 1•3 years ago
|
||
This API will be needed to run the following experiment measuring the perf and stability impacts of Android process prioritization:
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Here's an initial draft to the API needed, setProcessPriorityHint: https://docs.google.com/document/d/1xGXQhVLnWBU84WmQ0ebkJ-MqI6o67mXosjxT1p3M26w/edit?usp=sharing
Assignee | ||
Comment 4•2 years ago
|
||
Thanks for reviewing this, Agi! I add your changes. Who else should review it, or which matrix should I post it in?
Comment 5•2 years ago
|
||
Thank you! I added one more comment (no need to resend for review). I think it would be good to ask somebody on the Fenix team for review (maybe csadilek) and someone else from our team.
Assignee | ||
Comment 6•2 years ago
|
||
Hey Christian, would you be able to review the design doc for adding this API to set priority hint on a geckosession?
https://docs.google.com/document/d/1xGXQhVLnWBU84WmQ0ebkJ-MqI6o67mXosjxT1p3M26w/edit?usp=sharing
Comment 7•2 years ago
|
||
Thank you, API looks good to me! I had one question in the document re: MEDIUM priority, but let's continue there.
Assignee | ||
Comment 8•2 years ago
|
||
Corresponding Design Doc: https://docs.google.com/document/d/1xGXQhVLnWBU84WmQ0ebkJ-MqI6o67mXosjxT1p3M26w/edit?usp=sharing
This API will allow apps to set a geckosession/tab to either high priority or default with the priorityHint.
Assignee | ||
Comment 9•2 years ago
|
||
Corresponding Design Doc: https://docs.google.com/document/d/1xGXQhVLnWBU84WmQ0ebkJ-MqI6o67mXosjxT1p3M26w/edit?usp=sharing
This API will allow apps to set a geckosession/tab to either high priority or default with the priorityHint.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
Backed out for causing lint failures on GeckoSession.java
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java:0 | Formatting error, please run ./mach lint -l android-format --fix (spotless-java)
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
bugherder |
Assignee | ||
Updated•2 years ago
|
Description
•