Closed
Bug 1826106
Opened 1 year ago
Closed 11 months ago
Update the Stencil API usage in the Utility Process to avoid JSContext
Categories
(Core :: DOM: Core & HTML, task)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
116 Branch
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: sefeng, Assigned: arai)
References
Details
(Whiteboard: [orb:m2])
Attachments
(1 file)
No description provided.
Assignee | ||
Updated•1 year ago
|
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•1 year ago
|
||
Depends on D179429
Updated•1 year ago
|
Attachment #9336524 -
Attachment description: WIP: Bug 1826106 - Use JS::FrontendContext in Utility Process. r?sefeng! → Bug 1826106 - Use JS::FrontendContext in Utility Process. r?sefeng!
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/b2a1e760b231 Use JS::FrontendContext in Utility Process. r=sefeng
Comment 3•11 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
status-firefox116:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Comment 4•11 months ago
|
||
Perfherder has detected an awsy performance improvement from push b2a1e760b23149650ac1c047f6529cbeae6deefe.
One of Bug 1826106, Bug 1826105, Bug 1834478 is causing this improvement. As author of the patches could you provide some input on which one of the bugs might be causing the improvement? Thanks.
Flags: needinfo?(arai.unmht)
Assignee | ||
Comment 5•11 months ago
|
||
It should be mostly from this bug's patch.
- Bug 1834478 patch is just a preparation
- Bug 1826105 patch can reduce the memory consumption which is caused by objects corresponds to JS object temporarily allocated when the input matches JSON, but the effect would be very limited and only temporarily
- Bug 1826106 patch reduces the memory consumption by skipping the initialization of most part of the JS engine runtime (self-hosting, global, gc, and possibly threads). now the utility process uses light-weight version of the JS API, and this should be most impactful.
Flags: needinfo?(arai.unmht)
Comment 6•11 months ago
|
||
(In reply to Pulsebot from comment #2)
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/b2a1e760b231
Use JS::FrontendContext in Utility Process. r=sefeng
== Change summary for alert #38681 (as of Wed, 14 Jun 2023 08:07:56 GMT) ==
Improvements:
Ratio | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|
4% | Heap Unclassified | windows11-64-2009-shippable-qr | fission tp6 | 96,772,363.98 -> 92,870,616.80 |
3% | Heap Unclassified | windows11-64-2009-shippable-qr | fission tp6 | 96,691,348.27 -> 93,336,106.99 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=38681
You need to log in
before you can comment on or make changes to this bug.
Description
•