Closed
Bug 1688886
Opened 5 years ago
Closed 5 years ago
Optimize XDRImmutableScriptData
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
87 Branch
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
Attachments
(1 file)
Just like other stencil struct, we can encode/decode fields with codeBytes,
instead of encoding each field one by one.
Assignee | ||
Comment 1•5 years ago
|
||
Actually, ImmutableScriptData
is already suitable for bulk-copy.
we just need to modify XDRImmutableScriptData
.
Summary: Optimize ImmutableScriptData for XDR → Optimize XDRImmutableScriptData
Assignee | ||
Comment 2•5 years ago
|
||
WIP patch reduces 2% of the time taken by decoding and instantiating XDR data of yahoo-mail mail_app_es6_09*
Assignee | ||
Comment 3•5 years ago
|
||
ImmutableScriptData is already packed, and doesn't contain pointers.
When encoding, it encode the entire data at once.
When decoding, it allocate ImmutableScriptData with given size, and then
read data, and then validate the size on debug build.
Depends on D103162
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/054668abe4fd
Encode/decode ImmutableScriptData at once. r=tcampbell
Comment 5•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox87:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•