Current benchmark data was generated on Wed Jan 22 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 | 3.rs | 1735ms | 38ms | 51.3MB | 1700ms | 17ms | wasmtime 29.0.1 |
wasm | 4.rs | 1755ms | 3.5ms | 35.3MB | 1730ms | 13ms | wasmtime 29.0.1 |
wasm | 5.rs | 1769ms | 18ms | 37.2MB | 1753ms | 3ms | wasmtime 29.0.1 |
ocaml | 1.ml | 2977ms | 13ms | 132.6MB | 2900ms | 60ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 5.rs | 170ms | 0.9ms | 21.3MB | 160ms | 0ms | wasmtime 29.0.1 |
wasm | 4.rs | 171ms | 2.2ms | 23.3MB | 160ms | 0ms | wasmtime 29.0.1 |
wasm | 3.rs | 172ms | 6.1ms | 23.3MB | 160ms | 3ms | wasmtime 29.0.1 |
ocaml | 1.ml | 214ms | 3.1ms | 19.2MB | 197ms | 3ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 84ms | 1.3ms | 19.7MB | 70ms | 0ms | wasmtime 29.0.1 |
ocaml | 1.ml | 181ms | 7.0ms | 6.5MB | 167ms | 0ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 370ms | 9.0ms | 24.2MB | 357ms | 0ms | wasmtime 29.0.1 |
wasm | 1.rs | 471ms | 3.2ms | 58.5MB | 453ms | 3ms | wasmtime 29.0.1 |
ocaml | 1.ml | 914ms | 6.3ms | 552.5MB | 853ms | 43ms | ocaml 5.3.0 |
ocaml | 2.ml | 1875ms | 8.7ms | 18.6MB | 1857ms | 0ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 93ms | 1.0ms | 22.5MB | 80ms | 3ms | wasmtime 29.0.1 |
wasm | 1.rs | 97ms | 3.2ms | 29.2MB | 87ms | 0ms | wasmtime 29.0.1 |
ocaml | 1.ml | 176ms | 3.5ms | 142.3MB | 153ms | 7ms | ocaml 5.3.0 |
ocaml | 2.ml | 466ms | 4.9ms | 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 | 3585ms | 7.0ms | 19.0MB | 3567ms | 0ms | wasmtime 29.0.1 |
ocaml | 2.ml | 4564ms | 17ms | 6.3MB | 4553ms | 0ms | ocaml 5.3.0 |
wasm | 7.rs | 4890ms | 13ms | 21.0MB | 4873ms | 0ms | wasmtime 29.0.1 |