You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Normally the compilation of iwasm --llvm-jit should be much faster than wamrc: (1) it supports lazy compilation in the main thread and only needs to compile the wasm function to call when the function hasn't been compiled, (2) and it supports parallel compilation, there are 4 backend threads compiling at the same time by default.
Besides, for linux/macos x86-64, the multi-tier jit is supported, the fast-jit is launched to compile and run quickly, and when llvm-jit functions are compiled, the fast-jit will be switched to llvm-jit as soon as possible.
It is not easy to reduce the compilation time of wamrc since unlike llvm jit mode, the llvm non-jit mode doesn't support parallel compilation yet.
wamrc (especially its optimization pass) takes hours on my environment.
wasm module: many_stack7.wasm.zip
its source: https://github.com/yamt/toywasm/blob/f917a189f3970959fb5f2ea72083cc62b88829c6/wat/many_stack.wat.in#L4
if it matters, it's amd64 macos wamrc binary from 1.2.1 release assets.
The text was updated successfully, but these errors were encountered: