Closed Bug 1674869 Opened 4 years ago Closed 4 years ago

Perf tweaks for XDRScriptStencil

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(1 file)

ScriptStencils are numerous in XDR buffers since they include lazy and non-lazy scripts. Reducing the transcoding overhead is beneficial here.

Now that XDR checks for correct endianness, we can use codeBytes for more
complex structures. We also move the function to StencilXdr namespace.

Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8e718fb591e8 Cleanup XDRScriptStencil to improve perf. r=arai
Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/706d08dc9e94 Cleanup XDRScriptStencil to improve perf. r=arai
Flags: needinfo?(tcampbell)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: