4 ms·
Hi, I'm Syrus from Wasmer. Have you tried with the llvm backend? I believe the results might be even better there! $ time ./wasmer run --llvm fill_buffer.wa
by syrusakbary 5y ago
Hi, I'm Syrus from Wasmer.
Have you tried with the llvm backend? I believe the results might be even better there!
$ time ./wasmer run --llvm fill_buffer.wasm -i fillBufferWithSIMD 1000
- fwsgonzo 5y ago$ time ./wasmer fill_buffer.wasm --llvm -i fillBufferWithSIMD 1000 real 0m5,233s It seems to be a 25% longer run-time with LLVM backend. I did not know about that option! Very interesting.
- syrusakbary 5y agoIt's strange that llvm runs slower (perhaps the of the 5s some of that is spent being compiled). Could you share the fill_buffer.wasm (or the WAT file) so I can do some tests? Thanks!
- fwsgonzo 5y agoHere you go: https://gist.github.com/fwsGonzo/2968cf0bc3364eb1ff0e050056969a4e https://gist.github.com/fwsGonzo/2968cf0bc3364eb1ff0e0500569... Hopefully I did not mess anything up!