Closed Bug 1893008 Opened 9 months ago Closed 8 months ago

Convert JSPI utility functions into intrinsic calls

Categories

(Core :: JavaScript: WebAssembly, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: yury, Assigned: yury)

References

Details

Attachments

(1 file)

The D200518 introduces WasmPISuspenderCheck , WasmPIGetPromiseResult, WasmPISetPromiseResults to help with stack switching. Investigate if it is possible to replace them with intrinsics/builtin equivalents and remove the IsAllowedOnSuspendableStack.

Severity: -- → N/A
Priority: -- → P2
Assignee: nobody → ydelendik
Attachment #9399989 - Attachment description: WIP: Bug 1893008 - Replace JS functions with builtins. → Bug 1893008 - [wasm-jspi] Replace native functions with builtins. r?jpages
Status: NEW → ASSIGNED

After the patch, the performance increased by 10%. Also, the patch relies on bug 1895017 to not adjust wasm serialization tripwires.

Pushed by ydelendik@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9ef085f751dd [wasm-jspi] Replace native functions with builtins. r=jpages
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: