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: Nov 22 2024 at 16:03 UTC