Under what circumstances will a WebAssembly program execute faster with iwasm using the llvm jit? I have made a study and there is one program, PolyBench/correleation which can be found in this repo: https://github.com/matsbror/wabench/tree/ace5g, which on x86_64 executes faster with iwasm/llmv-jit than natively.
It seems conter-intuitive. I have tried to isolate the function in question as a WebAssembly module of its own and disassemble it, but, unfortunately, then the performance advantage disappeared.
Any ideas?
Hello,
Check the following studies for similar observations:
Basically, we concluded that a slightly faster execution using AOT may be due to fewer L1 instructions cache misses.
Cheers
Last updated: Dec 23 2024 at 12:05 UTC