3 ms·
$ 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
by 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!