2 ms·
It did improved a lot, but unfortunately not near zero enough. It is managable if you avoid js wasm round trips, but if you assume the cost is near zero you wi
by lukan 1y ago
It did improved a lot, but unfortunately not near zero enough.
It is managable if you avoid js wasm round trips, but if you assume the cost is near zero you will be in for a unpleasant surprise.
When I have to do a lot of different calls into my wasm blob, I am way way faster batching them. Meaning making one cal into wasm, that then gets all the data I want and returns it.