Closed Bug 1710987 Opened 2 years ago Closed 2 years ago

Use self-hosted JS bytecode directly from XDR buffer

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

(Whiteboard: [overhead:180k] )

Attachments

(1 file)

Part of bug 1523749.

Introduce pinned bytecode infra, and use it in self-hosted JS code.

Current patch uses implicit lifetime requirement, that is, XDR buffer for the self-hosted JS should be alive longer than JS context.

Attachment #9221923 - Attachment description: WIP: Bug 1710987 - Borrow ImmutableScriptData from XDR buffer in self-hosted JS. → Bug 1710987 - Borrow ImmutableScriptData from XDR buffer in self-hosted JS. r?tcampbell!
Whiteboard: [overhead:180k]
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/97e87b9fe643
Borrow ImmutableScriptData from XDR buffer in self-hosted JS. r=tcampbell
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

== Change summary for alert #30187 (as of Mon, 24 May 2021 10:13:52 GMT) ==

Improvements:

Ratio Suite Test Platform Options Absolute values (old vs new)
8% Base Content JS linux1804-64-shippable-qr 2,430,166.00 -> 2,241,089.33
8% Base Content JS linux1804-64-shippable 2,429,712.00 -> 2,241,610.67
8% Base Content JS macosx1015-64-shippable 2,432,544.00 -> 2,244,442.67
8% Base Content JS macosx1015-64-shippable-qr 2,433,038.67 -> 2,245,432.00
8% Base Content JS windows10-64-shippable 2,439,632.00 -> 2,251,518.67
... ... ... ... ... ...
3% Base Content Explicit linux1804-64-shippable 9,283,909.33 -> 9,024,837.33

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=30187

You need to log in before you can comment on or make changes to this bug.