Use plain object for lazy getter in browser/components/
Categories
(Firefox :: General, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox103 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
(Keywords: perf-alert)
Attachments
(22 files, 2 obsolete files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1772100 - Part 24: Use plain object for lazy getter in browser/components/BrowserGlue.jsm. r?mak
48 bytes,
text/x-phabricator-request
|
Details | Review |
+++ This bug was initially created as a clone of Bug #1772007 +++
Many JSM files define lazy getters on the per-JSM global this object.
The global this object doesn't exist in ES module, and those lazy getters need to be moved to a plain object const lazy = {};, and each consumer needs to be rewritten to refer the lazy getter with lazy.foo.
This migration is done by automated script in bug 1608279.
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
Depends on D148011
| Assignee | ||
Comment 3•4 years ago
|
||
Depends on D148012
| Assignee | ||
Comment 4•4 years ago
|
||
Depends on D148013
| Assignee | ||
Comment 5•4 years ago
|
||
Depends on D148014
| Assignee | ||
Comment 6•4 years ago
|
||
Depends on D148015
| Assignee | ||
Comment 7•4 years ago
|
||
Depends on D148016
| Assignee | ||
Comment 8•4 years ago
|
||
Depends on D148017
| Assignee | ||
Comment 9•4 years ago
|
||
Depends on D148018
| Assignee | ||
Comment 10•4 years ago
|
||
Depends on D148019
| Assignee | ||
Comment 11•4 years ago
|
||
Depends on D148020
| Assignee | ||
Comment 12•4 years ago
|
||
Depends on D148021
| Assignee | ||
Comment 13•4 years ago
|
||
Depends on D148022
| Assignee | ||
Comment 14•4 years ago
|
||
Depends on D148023
| Assignee | ||
Comment 15•4 years ago
|
||
Depends on D148024
| Assignee | ||
Comment 16•4 years ago
|
||
Depends on D148025
| Assignee | ||
Comment 17•4 years ago
|
||
Depends on D148026
| Assignee | ||
Comment 18•4 years ago
|
||
Depends on D148027
| Assignee | ||
Comment 19•4 years ago
|
||
Depends on D148028
| Assignee | ||
Comment 20•4 years ago
|
||
Depends on D148029
| Assignee | ||
Comment 21•4 years ago
|
||
Depends on D148030
| Assignee | ||
Comment 22•4 years ago
|
||
Depends on D148031
| Assignee | ||
Comment 23•4 years ago
|
||
Depends on D148032
| Assignee | ||
Comment 24•4 years ago
|
||
Depends on D148033
Comment 25•4 years ago
|
||
If anyone wants additional context on this change, see:
| Assignee | ||
Updated•4 years ago
|
Comment 26•4 years ago
|
||
Comment 27•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/141d1fdc23e2
https://hg.mozilla.org/mozilla-central/rev/589039df2fde
https://hg.mozilla.org/mozilla-central/rev/1cfa66fd3072
https://hg.mozilla.org/mozilla-central/rev/64d89a5aa77e
https://hg.mozilla.org/mozilla-central/rev/a545a6bcd393
https://hg.mozilla.org/mozilla-central/rev/44856311c4d0
https://hg.mozilla.org/mozilla-central/rev/a8e1e90b200a
https://hg.mozilla.org/mozilla-central/rev/a0b40177951c
https://hg.mozilla.org/mozilla-central/rev/a86e022cdd9a
https://hg.mozilla.org/mozilla-central/rev/378d82b22cfd
https://hg.mozilla.org/mozilla-central/rev/8ad45e6a2231
https://hg.mozilla.org/mozilla-central/rev/1cc5f6b081cd
https://hg.mozilla.org/mozilla-central/rev/d8ea83a7f82a
https://hg.mozilla.org/mozilla-central/rev/12823192db08
Comment 28•4 years ago
|
||
Comment 29•4 years ago
|
||
| bugherder | ||
Updated•4 years ago
|
Comment 30•4 years ago
|
||
Comment 31•4 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 32•4 years ago
|
||
Comment 33•4 years ago
|
||
| bugherder | ||
Comment 34•4 years ago
|
||
(In reply to Pulsebot from comment #32)
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/e52a65341944
Part 3: Use plain object for lazy getter in
browser/components/customizableui/. r=Gijs
== Change summary for alert #34430 (as of Sat, 11 Jun 2022 18:20:57 GMT) ==
Improvements:
| Ratio | Test | Platform | Options | Absolute values (old vs new) |
|---|---|---|---|---|
| 16% | microsoft loadtime | linux1804-64-shippable-qr | cold fission webrender | 375.69 -> 316.54 |
| 15% | ebay fcp | linux1804-64-shippable-qr | cold fission webrender | 376.04 -> 317.79 |
| 15% | ebay fcp | macosx1015-64-shippable-qr | cold fission webrender | 301.31 -> 256.12 |
| 14% | ebay loadtime | macosx1015-64-shippable-qr | cold fission webrender | 463.17 -> 396.62 |
| 13% | microsoft fcp | linux1804-64-shippable-qr | cold fission webrender | 293.08 -> 254.83 |
| ... | ... | ... | ... | ... |
| 3% | ebay SpeedIndex | macosx1015-64-shippable-qr | cold fission webrender | 1,427.54 -> 1,380.67 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=34430
Updated•4 years ago
|
Description
•