Use SharedData and JSProcessActor to improve URLQueryStrippingListService
Categories
(Core :: Privacy: Anti-Tracking, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: timhuang, Assigned: timhuang)
References
Details
(Keywords: perf-alert, Whiteboard: [not-a-fission-bug])
Attachments
(2 files)
We can improve our URLQueryStrippingListService according to the phabricator comment. Moving to use SharedData and JSProcessActor can help us to remove URLQueryStrippingListService.jsm
from the startup scripts of the content processes.
Comment 1•2 years ago
|
||
(Somehow this shows up in the Fission bug list, but I don't think there is anything Fission specific here)
Assignee | ||
Comment 2•2 years ago
|
||
We used to use the message manager to get query stripping list from the
parent process during the startup of content processes as well as the
list gets updated from remote settings.
In this patch, we change to use the shared data to populate the list for
remote settings. This brings one benefit that we don't need to start the
list service during the startup of content processes in order to get the
list as early as possible. We can get the list lazily because the shard
data will be preloaded during the process startup.
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D132990
Pushed by tihuang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1ab00f31e2ed Part 1: Use shared data to populate remote settings list to content processes. r=pbz https://hg.mozilla.org/integration/autoland/rev/9f7117a4ffb7 Part 2: Remove URLQueryStrippingListProcessScript.js and URLQueryStrippingListService.jsm from the known list in browser startup tests. r=mconley
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1ab00f31e2ed
https://hg.mozilla.org/mozilla-central/rev/9f7117a4ffb7
Comment 6•2 years ago
|
||
== Change summary for alert #32718 (as of Tue, 14 Dec 2021 18:13:13 GMT) ==
Improvements:
Ratio | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|
1% | Base Content JS | linux1804-64-shippable-qr | 1,822,548.00 -> 1,812,018.00 | |
1% | Base Content JS | macosx1015-64-shippable-qr | 1,850,707.64 -> 1,840,904.00 | |
0.48% | Base Content JS | linux1804-64-shippable-qr | 1,820,482.67 -> 1,811,832.00 | |
0.47% | Base Content JS | windows10-64-2004-shippable-qr | 1,825,922.67 -> 1,817,256.00 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=32718
Updated•2 years ago
|
Description
•