You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The size of wasm module produced is quite high, ~ 8 MB for a function adding two numbers. My understanding is that the interpreter (SpiderMonkey) is the majority of it.
Query
Is there a way to dynamically link the interpreter and wasm module to reduce the module size? The primary benefit is when there are multiple wasm modules & instances
For reference: Javy has -d flag for enabling dynamic linking
The text was updated successfully, but these errors were encountered:
I just ran into this as well. I'm seeing componentize() produce a 10MB binary when I give it a module with nothing but empty stub functions for my world.
Problem
The size of wasm module produced is quite high, ~ 8 MB for a function adding two numbers. My understanding is that the interpreter (SpiderMonkey) is the majority of it.
Query
Is there a way to dynamically link the interpreter and wasm module to reduce the module size? The primary benefit is when there are multiple wasm modules & instances
For reference: Javy has -d flag for enabling dynamic linking
The text was updated successfully, but these errors were encountered: