4 ms·
The startup was excruciatingly slow ~20s, is it mining crypto in the background?
by dvh 4y ago
The startup was excruciatingly slow ~20s, is it mining crypto in the background?
- Bromeo 4y agoIt is "compiled on the fly", including (hardware specific?) optimizations, which can take some time.
- worldmerge 4y agoThat's interesting. It was nearly instant on my iphone.
- brrrrrm 4y agoWould you mind sharing which device you're using? I'm still working on making the first compilation faster!
- angelmm 4y agoThe 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