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 |
---|---|---|---|---|---|---|---|
v | 1.v | 780ms | 6.7ms | 22.1MB | 760ms | 0ms | v/clang+gc 0.4.9 |
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 |
v | 1.v | 2142ms | 22ms | 2086.6MB | 1273ms | 850ms | v/clang 0.4.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 70ms | 2.4ms | 4.6MB | 57ms | 0ms | v/clang+gc 0.4.9 |
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 |
v | 1.v | 208ms | 1.3ms | 197.5MB | 120ms | 70ms | v/clang 0.4.9 |
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 |
v | 1.v | 242ms | 1.9ms | 1.3MB | 230ms | 0ms | v/clang 0.4.9 |
v | 1.v | 257ms | 2.6ms | 2.1MB | 243ms | 0ms | v/clang+gc 0.4.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 309ms | 0.2ms | 1.6MB | 300ms | 0ms | v/clang 0.4.9 |
v | 1.v | 311ms | 1.4ms | 2.3MB | 300ms | 0ms | v/clang+gc 0.4.9 |
wasm | 1.rs | 407ms | 1.8ms | 19.2MB | 390ms | 0ms | wasmtime 29.0.1 |
wasm | 2.rs | 579ms | 1.4ms | 19.2MB | 563ms | 0ms | wasmtime 29.0.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 299ms | 8.0ms | 60.6MB | 283ms | 0ms | v/clang+gc 0.4.9 |
v | 1.v | 303ms | 2.9ms | 40.3MB | 287ms | 0ms | v/clang 0.4.9 |
v | 2.v | 327ms | 4.7ms | 6.9MB | 313ms | 0ms | v/clang+gc 0.4.9 |
v | 2.v | 328ms | 1.7ms | 6.1MB | 310ms | 3ms | v/clang 0.4.9 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 58ms | 0.9ms | 11.9MB | 47ms | 0ms | v/clang+gc 0.4.9 |
v | 1.v | 62ms | 2.2ms | 11.0MB | 50ms | 0ms | v/clang 0.4.9 |
v | 2.v | 80ms | 0.6ms | 3.1MB | 70ms | 0ms | v/clang+gc 0.4.9 |
v | 2.v | 80ms | 0.9ms | 2.4MB | 70ms | 0ms | v/clang 0.4.9 |
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 |
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 |
wasm | 7.rs | 4890ms | 13ms | 21.0MB | 4873ms | 0ms | wasmtime 29.0.1 |
v | 1.v | timeout | 0.0ms | 1.6MB | 4990ms | 0ms | v/clang 0.4.9 |
v | 1.v | timeout | 0.0ms | 2.8MB | 4987ms | 0ms | v/clang+gc 0.4.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 905ms | 2.5ms | 20.9MB | 890ms | 3ms | wasmtime 29.0.1 |
wasm | 7.rs | 1227ms | 3.4ms | 20.7MB | 1210ms | 0ms | wasmtime 29.0.1 |
v | 1.v | 1278ms | 0.9ms | 1.6MB | 1267ms | 0ms | v/clang 0.4.9 |
v | 1.v | 1326ms | 10ms | 2.5MB | 1317ms | 0ms | v/clang+gc 0.4.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 243ms | 13ms | 18.8MB | 230ms | 0ms | wasmtime 29.0.1 |
wasm | 7.rs | 315ms | 2.2ms | 20.7MB | 300ms | 0ms | wasmtime 29.0.1 |
v | 1.v | 324ms | 0.9ms | 1.5MB | 310ms | 0ms | v/clang 0.4.9 |
v | 1.v | 331ms | 2.0ms | 2.5MB | 323ms | 0ms | v/clang+gc 0.4.9 |