Closed technosophos closed 3 years ago
There have been a few improvements in the Wasmtime ecosystem over the last few months around startup time:
It might make sense to add a readme section that talks about startup performance and some considerations.
Oh, yeah... we totally should.
@radu-matei Now that we have caching and preloading, I think we can close this one. Is that okay with you?
I agree, and even more with the instantiation improvements from Wasmtime.
Right now, WAGI loads the WASM module at request time. Big WASM modules can take seconds to load.
There is probably a way to cache or preload modules to speed this up. wasm3 interprets rather than JIT-ing, and that might be substantially faster in this case (though I don't think wasm3 currently has WASI support).