3 ms·
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
by angelmm 4y ago
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