Current benchmark data was generated on Sat Nov 16 2024, 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 |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 1357ms | 14ms | 64.3MB | 1337ms | 10ms | crystal 1.14.0 |
wasm | 5.rs | 1753ms | 16ms | 34.7MB | 1733ms | 7ms | wasmtime 25.0.3 |
wasm | 4.rs | 1760ms | 6.6ms | 34.7MB | 1740ms | 7ms | wasmtime 25.0.3 |
wasm | 3.rs | 1775ms | 26ms | 50.6MB | 1743ms | 13ms | wasmtime 25.0.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 110ms | 3.0ms | 11.1MB | 93ms | 0ms | crystal 1.14.0 |
wasm | 5.rs | 167ms | 1.0ms | 20.7MB | 153ms | 3ms | wasmtime 25.0.3 |
wasm | 3.rs | 171ms | 3.2ms | 22.7MB | 153ms | 7ms | wasmtime 25.0.3 |
wasm | 4.rs | 175ms | 4.5ms | 20.7MB | 160ms | 0ms | wasmtime 25.0.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 36ms | 0.9ms | 3.1MB | 23ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 65ms | 0.9ms | 3.1MB | 53ms | 0ms | crystal 1.14.0 |
wasm | 1.rs | 90ms | 1.4ms | 20.8MB | 73ms | 7ms | wasmtime 25.0.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 2.cr | 342ms | 2.6ms | 3.4MB | 327ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 344ms | 2.9ms | 3.4MB | 333ms | 0ms | crystal 1.14.0 |
wasm | 1.rs | 406ms | 1.1ms | 18.6MB | 390ms | 0ms | wasmtime 25.0.3 |
wasm | 2.rs | 578ms | 1.2ms | 18.6MB | 560ms | 0ms | wasmtime 25.0.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 38ms | 0.2ms | 3.4MB | 27ms | 0ms | crystal 1.14.0 |
crystal | 2.cr | 39ms | 0.3ms | 3.4MB | 30ms | 0ms | crystal 1.14.0 |
wasm | 1.rs | 49ms | 0.5ms | 18.6MB | 33ms | 0ms | wasmtime 25.0.3 |
wasm | 2.rs | 66ms | 1.1ms | 18.6MB | 50ms | 0ms | wasmtime 25.0.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 2.cr | 351ms | 1.7ms | 8.4MB | 340ms | 0ms | crystal 1.14.0 |
wasm | 2.rs | 370ms | 5.1ms | 25.5MB | 360ms | 0ms | wasmtime 25.0.3 |
crystal | 1.cr | 373ms | 4.3ms | 43.0MB | 357ms | 0ms | crystal 1.14.0 |
wasm | 1.rs | 468ms | 2.9ms | 57.8MB | 450ms | 3ms | wasmtime 25.0.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 79ms | 1.1ms | 13.3MB | 70ms | 0ms | crystal 1.14.0 |
crystal | 2.cr | 87ms | 1.7ms | 4.6MB | 80ms | 0ms | crystal 1.14.0 |
wasm | 2.rs | 95ms | 2.5ms | 20.0MB | 90ms | 0ms | wasmtime 25.0.3 |
wasm | 1.rs | 95ms | 0.6ms | 28.6MB | 80ms | 3ms | wasmtime 25.0.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 3591ms | 4.7ms | 18.4MB | 3577ms | 0ms | wasmtime 25.0.3 |
crystal | 1.cr | 3898ms | 25ms | 4.6MB | 3887ms | 0ms | crystal 1.14.0 |
wasm | 7.rs | 4884ms | 13ms | 20.4MB | 4870ms | 0ms | wasmtime 25.0.3 |