Current benchmark data was generated on Fri Aug 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 |
---|---|---|---|---|---|---|---|
v | 1.v | 502ms | 4.4ms | 1.3MB | 493ms | 0ms | v/clang 0.4.11 |
v | 1.v | 517ms | 6.9ms | 2.1MB | 503ms | 0ms | v/clang+gc 0.4.11 |
crystal | 2.cr | 540ms | 2.0ms | 3.6MB | 450ms | 77ms | crystal 1.17.0 |
crystal | 1.cr | 681ms | 2.0ms | 14.6MB | 570ms | 97ms | crystal 1.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 53ms | 0.1ms | 1.3MB | 43ms | 0ms | v/clang 0.4.11 |
v | 1.v | 56ms | 1.0ms | 2.1MB | 50ms | 0ms | v/clang+gc 0.4.11 |
crystal | 2.cr | 57ms | 0.8ms | 3.6MB | 40ms | 0ms | crystal 1.17.0 |
crystal | 1.cr | 72ms | 0.8ms | 4.4MB | 53ms | 7ms | crystal 1.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 37ms | 0.9ms | 3.0MB | 30ms | 0ms | crystal 1.17.0 |
crystal | 1.cr | 70ms | 1.9ms | 3.0MB | 60ms | 0ms | crystal 1.17.0 |
v | 1.v | 240ms | 1.6ms | 1.3MB | 230ms | 0ms | v/clang 0.4.11 |
v | 1.v | 258ms | 2.6ms | 2.1MB | 250ms | 0ms | v/clang+gc 0.4.11 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 105ms | 1.9ms | 3.0MB | 97ms | 0ms | crystal 1.17.0 |
crystal | 1.cr | 201ms | 2.2ms | 3.0MB | 190ms | 0ms | crystal 1.17.0 |
v | 1.v | 718ms | 2.5ms | 1.3MB | 710ms | 0ms | v/clang 0.4.11 |
v | 1.v | 771ms | 1.0ms | 2.1MB | 760ms | 0ms | v/clang+gc 0.4.11 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 19ms | 1.2ms | 3.0MB | 10ms | 0ms | crystal 1.17.0 |
crystal | 1.cr | 33ms | 1.2ms | 3.0MB | 20ms | 0ms | crystal 1.17.0 |
v | 1.v | 91ms | 1.5ms | 1.3MB | 80ms | 0ms | v/clang 0.4.11 |
v | 1.v | 102ms | 5.3ms | 2.1MB | 93ms | 0ms | v/clang+gc 0.4.11 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 312ms | 1.0ms | 2.3MB | 300ms | 0ms | v/clang+gc 0.4.11 |
v | 1.v | 314ms | 1.2ms | 1.6MB | 307ms | 0ms | v/clang 0.4.11 |
crystal | 2.cr | 345ms | 2.9ms | 3.4MB | 337ms | 0ms | crystal 1.17.0 |
crystal | 1.cr | 346ms | 3.1ms | 3.4MB | 337ms | 0ms | crystal 1.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 33ms | 0.3ms | 1.6MB | 30ms | 0ms | v/clang 0.4.11 |
v | 1.v | 33ms | 0.3ms | 2.3MB | 30ms | 0ms | v/clang+gc 0.4.11 |
crystal | 2.cr | 37ms | 0.5ms | 3.4MB | 30ms | 0ms | crystal 1.17.0 |
crystal | 1.cr | 39ms | 0.1ms | 3.4MB | 30ms | 0ms | crystal 1.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 299ms | 7.9ms | 41.2MB | 287ms | 0ms | v/clang+gc 0.4.11 |
crystal | 2.cr | 301ms | 3.1ms | 8.3MB | 290ms | 0ms | crystal 1.17.0 |
v | 1.v | 301ms | 3.8ms | 40.3MB | 287ms | 0ms | v/clang 0.4.11 |
v | 2.v | 332ms | 2.5ms | 6.1MB | 323ms | 0ms | v/clang 0.4.11 |
v | 2.v | 333ms | 5.6ms | 6.9MB | 323ms | 0ms | v/clang+gc 0.4.11 |
crystal | 1.cr | 420ms | 4.6ms | 43.0MB | 403ms | 0ms | crystal 1.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 61ms | 2.3ms | 19.0MB | 50ms | 0ms | v/clang+gc 0.4.11 |
v | 1.v | 62ms | 1.5ms | 11.0MB | 50ms | 0ms | v/clang 0.4.11 |
crystal | 2.cr | 74ms | 0.2ms | 4.5MB | 70ms | 0ms | crystal 1.17.0 |
v | 2.v | 82ms | 1.6ms | 2.4MB | 70ms | 0ms | v/clang 0.4.11 |
v | 2.v | 83ms | 1.9ms | 3.1MB | 73ms | 0ms | v/clang+gc 0.4.11 |
crystal | 1.cr | 89ms | 0.6ms | 13.2MB | 80ms | 0ms | crystal 1.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 3758ms | 11ms | 4.5MB | 3750ms | 0ms | crystal 1.17.0 |
v | 1.v | timeout | 0.0ms | 1.6MB | 4990ms | 0ms | v/clang 0.4.11 |
v | 1.v | timeout | 0.0ms | 2.8MB | 4990ms | 0ms | v/clang+gc 0.4.11 |