I'm sure there is some overhead for invoking the WebAssembly runtime. Right now my worker takes abou

I'm sure there is some overhead for invoking the WebAssembly runtime. Right now my worker takes about 2ms of CPU time. The algorithm is pretty trivial and already in my JavaScript worker. I just want to replace it with the WebAssembly version so I don't have to maintain this algorithm in multiple languages. Any idea how much overhead the WebAssembly runtime has?
Was this page helpful?