How good is the performance of calling an imported function from the host compared to calling a function inside the WASM module? Is the impact big?
The impact should be very small, on the order of single-digit nanoseconds.
I mean in relation to an in-module function call. Is it more expensive to call an import than another WASM function?
Yes, on the order of single-digit nanoseconds, it's slightly more expensive to call the host
Tarek Sander has marked this topic as resolved.
Last updated: Dec 23 2024 at 13:07 UTC