Share code for same-signature js-to-wasm wrappers |
||
Issue descriptionIn the pspdfkit benchmark (https://pspdfkit.com/webassembly-benchmark/), we spend 250ms in instantiation (on the main thread!). Half of the time is spent in "CloneOrCompileJsToWasmWrapper". We could avoid closing these wrappers if we load the function index from the WasmExportedFunction and use it to call relative to the jump table start (embedded in the code object).
,
Jul 10
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jul 6