bytecodealliance / wasm-micro-runtime

WebAssembly Micro Runtime (WAMR)
Apache License 2.0
4.93k stars 624 forks source link

AOT compilation encountered performance issues #2721

Open XinyuShe opened 1 year ago

XinyuShe commented 1 year ago

filea11778.zip

image image

I tested the AOT compilation, but found that some of the files timed out, taking more than a minute to compile, while the other runtimes finished compiling very quickly.

lum1n0us commented 12 months ago

😮‍💨 yes, we've noticed that issue for a long time. The whole process of AOT compilation is very similar with a native binary compilation. Linking and optimization are top2 time consumers. Especially, linking involves I/O processing, and it is sequential for now. We are still looking for a solution to speed up. We are also open to any suggestion.

XinyuShe commented 12 months ago

Could you mark this issue as a performance bug?