According to the Emscripten documentation, code generated by the compiler typically runs about 10 times slower than the equivalent binary that you would get by compiling the same C code with the -O3 ...