sunfishcode opened Issue #2660:
Wasmtime has a compilation cache to avoid recompiling the same module multiple times. In the embedding API, it's not enabled by default; users must call
cache_config_load_default
. I wasn't able to find this mentioned in the guide or in any of the in-tree examples.
wycats commented on Issue #2660:
@sunfishcode It would have been great to see this highlighted prominently in the docs. I hit an issue where a module was taking a long time to compile, and wouldn't have minded quite as much if I'd known about the cache :)
sunfishcode labeled Issue #2660:
Wasmtime has a compilation cache to avoid recompiling the same module multiple times. In the embedding API, it's not enabled by default; users must call
cache_config_load_default
. I wasn't able to find this mentioned in the guide or in any of the in-tree examples.
Last updated: Nov 22 2024 at 16:03 UTC