Hey!
In the process of developing with wasmtime, I've noticed that my debug binary takes 20s to compile a wasm blob, while the same code in release mode takes something like 0.3s. However, building debug builds takes 20s and release builds something like 5min.
Hence a question: do you know if it's possible to build a debug build of my binary, but with a release build of wasmtime that'd get cached while I iterate on my code? It'd much decrease my time to test :)
I've already tried just disabling debug assertions, hoping that was it, but it turns out it doesn't significantly help
Cargo profile selectiton might help you optimizing wasmtime in debug mode perhaps?
Looks like this is what I was looking for indeed, thank you! :D
Last updated: Dec 23 2024 at 13:07 UTC