Webassembly performance degradation

When I compiled the code into WASM, I found a significant performance degradation. This is five times less than native c++ code.
I suspect there are several reasons:

1. Webassembly VM
2. Multithreading doesn't work
3. Virtual file system ?

Any suggestions for improving performance?

Kirill Gavrilov's picture