4 ms·
Yeah it’s just the stack switching itself that is a handful of cycles, but there is not much more overhead for the full VM switch if you structure your embeddin
by rockwotj 3y ago
Yeah it’s just the stack switching itself that is a handful of cycles, but there is not much more overhead for the full VM switch if you structure your embedding the right way. Code the code is source available if you want to peek at it!
https://github.com/redpanda-data/redpanda/blob/dev/src/v/wasm/wasmtime.cc https://github.com/redpanda-data/redpanda/blob/dev/src/v/was...