Current benchmark data was generated on Sun Dec 01 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 | 1390ms | 8.4ms | 64.3MB | 1363ms | 7ms | crystal 1.14.0 |
wasm | 5.rs | 1531ms | 12ms | 55.1MB | 1500ms | 13ms | wasmer/llvm 5.0.2 |
wasm | 4.rs | 1599ms | 10.0ms | 54.8MB | 1570ms | 17ms | wasmer/llvm 5.0.2 |
wasm | 3.rs | 1644ms | 39ms | 71.3MB | 1600ms | 27ms | wasmer/llvm 5.0.2 |
wasm | 5.rs | 1750ms | 25ms | 34.8MB | 1723ms | 10ms | wasmtime 27.0.0 |
wasm | 4.rs | 1794ms | 30ms | 34.9MB | 1777ms | 3ms | wasmtime 27.0.0 |
wasm | 3.rs | 1860ms | 47ms | 52.9MB | 1830ms | 17ms | wasmtime 27.0.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 108ms | 0.6ms | 11.1MB | 97ms | 0ms | crystal 1.14.0 |
wasm | 5.rs | 152ms | 0.8ms | 41.0MB | 140ms | 0ms | wasmer/llvm 5.0.2 |
wasm | 4.rs | 161ms | 3.1ms | 41.0MB | 143ms | 3ms | wasmer/llvm 5.0.2 |
wasm | 3.rs | 165ms | 6.6ms | 42.9MB | 143ms | 7ms | wasmer/llvm 5.0.2 |
wasm | 4.rs | 171ms | 1.2ms | 21.0MB | 157ms | 3ms | wasmtime 27.0.0 |
wasm | 3.rs | 174ms | 3.1ms | 22.9MB | 157ms | 3ms | wasmtime 27.0.0 |
wasm | 5.rs | 181ms | 18ms | 22.9MB | 163ms | 0ms | wasmtime 27.0.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 230ms | 2.2ms | 19.0MB | 213ms | 0ms | wasmtime 27.0.0 |
wasm | 1.rs | 331ms | 4.4ms | 37.5MB | 233ms | 70ms | wasmer/llvm 5.0.2 |
crystal | 2.cr | 538ms | 2.4ms | 3.4MB | 420ms | 100ms | crystal 1.14.0 |
crystal | 1.cr | 728ms | 1.8ms | 14.6MB | 590ms | 120ms | crystal 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 34ms | 5.0ms | 19.0MB | 20ms | 3ms | wasmtime 27.0.0 |
wasm | 1.rs | 45ms | 0.8ms | 37.5MB | 23ms | 3ms | wasmer/llvm 5.0.2 |
crystal | 2.cr | 59ms | 0.9ms | 3.4MB | 40ms | 7ms | crystal 1.14.0 |
crystal | 1.cr | 76ms | 0.1ms | 4.5MB | 50ms | 10ms | crystal 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 36ms | 1.4ms | 3.1MB | 20ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 63ms | 1.1ms | 3.1MB | 50ms | 0ms | crystal 1.14.0 |
wasm | 1.rs | 79ms | 1.1ms | 20.7MB | 60ms | 0ms | wasmtime 27.0.0 |
wasm | 1.rs | 80ms | 0.5ms | 37.2MB | 63ms | 0ms | wasmer/llvm 5.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 99ms | 0.6ms | 3.1MB | 90ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 187ms | 1.0ms | 3.3MB | 180ms | 0ms | crystal 1.14.0 |
wasm | 1.rs | 220ms | 0.7ms | 37.4MB | 207ms | 3ms | wasmer/llvm 5.0.2 |
wasm | 1.rs | 224ms | 4.2ms | 19.1MB | 210ms | 0ms | wasmtime 27.0.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 19ms | 1.0ms | 3.0MB | 10ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 30ms | 0.7ms | 3.0MB | 20ms | 0ms | crystal 1.14.0 |
wasm | 1.rs | 46ms | 0.7ms | 19.2MB | 37ms | 0ms | wasmtime 27.0.0 |
wasm | 1.rs | 49ms | 1.3ms | 38.5MB | 37ms | 0ms | wasmer/llvm 5.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 343ms | 1.8ms | 37.1MB | 323ms | 3ms | wasmer/llvm 5.0.2 |
crystal | 2.cr | 343ms | 1.1ms | 3.4MB | 330ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 344ms | 2.1ms | 3.4MB | 330ms | 0ms | crystal 1.14.0 |
wasm | 1.rs | 406ms | 1.4ms | 20.8MB | 390ms | 0ms | wasmtime 27.0.0 |
wasm | 2.rs | 552ms | 37ms | 39.3MB | 540ms | 0ms | wasmer/llvm 5.0.2 |
wasm | 2.rs | 576ms | 0.6ms | 20.8MB | 560ms | 0ms | wasmtime 27.0.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 38ms | 0.8ms | 3.4MB | 30ms | 0ms | crystal 1.14.0 |
crystal | 2.cr | 38ms | 1.0ms | 3.4MB | 27ms | 0ms | crystal 1.14.0 |
wasm | 1.rs | 47ms | 0.8ms | 38.4MB | 30ms | 3ms | wasmer/llvm 5.0.2 |
wasm | 1.rs | 49ms | 0.5ms | 20.8MB | 33ms | 3ms | wasmtime 27.0.0 |
wasm | 2.rs | 66ms | 0.8ms | 20.8MB | 50ms | 3ms | wasmtime 27.0.0 |
wasm | 2.rs | 67ms | 3.4ms | 37.4MB | 50ms | 7ms | wasmer/llvm 5.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 2.cr | 349ms | 3.6ms | 8.3MB | 340ms | 0ms | crystal 1.14.0 |
wasm | 2.rs | 351ms | 5.0ms | 42.1MB | 333ms | 3ms | wasmer/llvm 5.0.2 |
wasm | 1.rs | 364ms | 8.8ms | 76.2MB | 350ms | 3ms | wasmer/llvm 5.0.2 |
wasm | 2.rs | 381ms | 11ms | 23.8MB | 370ms | 0ms | wasmtime 27.0.0 |
crystal | 1.cr | 386ms | 1.2ms | 43.1MB | 373ms | 0ms | crystal 1.14.0 |
wasm | 1.rs | 510ms | 6.0ms | 58.2MB | 490ms | 7ms | wasmtime 27.0.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 70ms | 1.4ms | 47.0MB | 57ms | 0ms | wasmer/llvm 5.0.2 |
crystal | 1.cr | 82ms | 1.2ms | 13.3MB | 70ms | 0ms | crystal 1.14.0 |
crystal | 2.cr | 91ms | 2.2ms | 4.6MB | 80ms | 0ms | crystal 1.14.0 |
wasm | 2.rs | 95ms | 1.1ms | 38.6MB | 80ms | 0ms | wasmer/llvm 5.0.2 |
wasm | 2.rs | 96ms | 1.1ms | 20.1MB | 80ms | 7ms | wasmtime 27.0.0 |
wasm | 1.rs | 97ms | 1.5ms | 28.7MB | 90ms | 0ms | wasmtime 27.0.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 3587ms | 3.9ms | 37.2MB | 3573ms | 3ms | wasmer/llvm 5.0.2 |
wasm | 2.rs | 3589ms | 8.6ms | 18.9MB | 3573ms | 0ms | wasmtime 27.0.0 |
wasm | 7.rs | 3597ms | 1.9ms | 38.9MB | 3580ms | 3ms | wasmer/llvm 5.0.2 |
crystal | 1.cr | 3904ms | 21ms | 4.6MB | 3893ms | 0ms | crystal 1.14.0 |
wasm | 7.rs | 4874ms | 3.3ms | 20.7MB | 4857ms | 0ms | wasmtime 27.0.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 906ms | 2.5ms | 18.7MB | 890ms | 0ms | wasmtime 27.0.0 |
wasm | 2.rs | 909ms | 1.3ms | 38.9MB | 893ms | 0ms | wasmer/llvm 5.0.2 |
wasm | 7.rs | 909ms | 0.8ms | 39.0MB | 893ms | 0ms | wasmer/llvm 5.0.2 |
crystal | 1.cr | 979ms | 2.1ms | 4.3MB | 967ms | 0ms | crystal 1.14.0 |
wasm | 7.rs | 1233ms | 11ms | 18.7MB | 1220ms | 0ms | wasmtime 27.0.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 234ms | 2.2ms | 18.5MB | 220ms | 0ms | wasmtime 27.0.0 |
wasm | 2.rs | 238ms | 1.1ms | 38.9MB | 227ms | 0ms | wasmer/llvm 5.0.2 |
wasm | 7.rs | 239ms | 1.1ms | 37.2MB | 223ms | 0ms | wasmer/llvm 5.0.2 |
crystal | 1.cr | 249ms | 2.4ms | 4.0MB | 240ms | 0ms | crystal 1.14.0 |
wasm | 7.rs | 321ms | 11ms | 18.8MB | 303ms | 0ms | wasmtime 27.0.0 |