The Second State Virtual Machine (SSVM) is an open source WebAssembly runtime optimized for server-side applications. The SSVM provides not only a WebAssembly runtime in Node.js, but also a compiler toolchain ssvmup for Rust and JavaScript.
Performance benchmarks
These benchmark tests are entirely open source. Try them on your computer!
The benchmark scores are in seconds. The smaller the better. The 👍 emoji marks the two best performing runtimes for each benchmark. The docker+native runtime is a simple Ubuntu Docker on an Ubuntu host.
SSVM 👀 | Lucet/wasmtime | WAVM | V8 | docker+native | |
---|---|---|---|---|---|
nop 0 | 0.003 👍 | 0.002👍 | 0.024 | 0.056 | 0.849 |
cat-sync 0 | 0.007👍 | 0.573 | 0.029👍 | 0.06 | 0.826 |
nbody-c 50M | 3.716👍 | 4.611 | 3.753 | 3.408👍 | 4.128 |
nbody-cpp 50M | 3.759👍 | 4.705 | 3.741👍 | 3.962 | 3.944 |
fannkuch-redux-c 12 | 28.06👍 | 53.104 | 28.477 | 29.285 | 24.459👍 |
mandelbrot-c 15K | 10.347👍 | 28.97 | 12.072👍 | 18.062 | 16.05 |
binary-trees-c 18 | 1.328👍 | 2.91 | 1.612👍 | 2.002 | 17.191 |