jprendes / emception

Run Emscripten in the browser
Other
285 stars 35 forks source link

wasm platform benchmark #1

Open jfmc opened 2 years ago

jfmc commented 2 years ago

First of all, congrats for this awesome project!

It feels (I've not measured it) too slow compared with native emscripten. Have you considered pushing it as a (real world) wasm platform (and emscripten) benchmark? I believe that a detailed performance analysis will show very interesting data for wasm compilers and wasm-based platforms (file system simulation, etc.).

NovaAndrom3da commented 2 years ago

Yeah... It seems to be taking a while to load and then compile...

alienself commented 1 year ago

Having the same issue, what is causing this slow down compared to native?

windowsair commented 8 months ago

I think there are tons of system API calls that are causing the slowness. These system calls require the intervention of the js runtime. Maybe WASI is a good idea?

IO bottlenecks, multithreading, and memory allocators are also important to consider.