The code is compiled with Ecmascripten and the WASM binary is injected as part of the JS module. Since the downloading, processing and compiling is happening on the browser, it seems to be a reasonable time.
However, to avoid blocking the main thread, I would run all this process in a worker. Not sure if there's any limitation there
It is "compiled on the fly", including (hardware specific?) optimizations, which can take some time.
That's interesting. It was nearly instant on my iphone.
Would you mind sharing which device you're using? I'm still working on making the first compilation faster!