Current benchmark data was generated on Tue Jul 01 2025, full log can be found HERE
CONTRIBUTIONS are WELCOME!
* -m in a file name stands for multi-threading or multi-processing
* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)
* -ffi in a file name stands for non-stdlib FFI usage
* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 5.rs | 1766ms | 30ms | 36.0MB | 1747ms | 7ms | wasmtime 34.0.1 |
wasm | 4.rs | 1838ms | 15ms | 34.0MB | 1817ms | 10ms | wasmtime 34.0.1 |
wasm | 3.rs | 1880ms | 33ms | 50.0MB | 1850ms | 13ms | wasmtime 34.0.1 |
ocaml | 1.ml | 3177ms | 13ms | 157.2MB | 3097ms | 63ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 5.rs | 167ms | 1.1ms | 20.1MB | 150ms | 0ms | wasmtime 34.0.1 |
wasm | 4.rs | 174ms | 1.7ms | 20.0MB | 160ms | 3ms | wasmtime 34.0.1 |
wasm | 3.rs | 179ms | 2.1ms | 22.1MB | 163ms | 0ms | wasmtime 34.0.1 |
ocaml | 1.ml | 234ms | 3.5ms | 19.2MB | 217ms | 0ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 90ms | 1.3ms | 18.5MB | 80ms | 0ms | wasmtime 34.0.1 |
ocaml | 1.ml | 180ms | 10ms | 6.4MB | 170ms | 0ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 391ms | 3.6ms | 23.0MB | 377ms | 0ms | wasmtime 34.0.1 |
wasm | 1.rs | 526ms | 14ms | 57.2MB | 510ms | 0ms | wasmtime 34.0.1 |
ocaml | 1.ml | 949ms | 8.7ms | 543.2MB | 887ms | 47ms | ocaml 5.3.0 |
ocaml | 2.ml | 1888ms | 14ms | 17.7MB | 1877ms | 0ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 94ms | 2.6ms | 27.8MB | 80ms | 0ms | wasmtime 34.0.1 |
wasm | 2.rs | 100ms | 2.9ms | 19.5MB | 90ms | 0ms | wasmtime 34.0.1 |
ocaml | 1.ml | 179ms | 2.9ms | 142.3MB | 157ms | 10ms | ocaml 5.3.0 |
ocaml | 2.ml | 466ms | 5.7ms | 9.1MB | 453ms | 0ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 3600ms | 5.7ms | 18.3MB | 3587ms | 0ms | wasmtime 34.0.1 |
ocaml | 2.ml | 4567ms | 4.6ms | 6.4MB | 4553ms | 0ms | ocaml 5.3.0 |
wasm | 7.rs | 4895ms | 4.2ms | 18.3MB | 4883ms | 0ms | wasmtime 34.0.1 |