Current benchmark data was generated on Sun Jun 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 |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 35ms | 0.6ms | 3.0MB | 30ms | 0ms | crystal 1.16.3 |
crystal | 1.cr | 65ms | 1.6ms | 3.0MB | 57ms | 0ms | crystal 1.16.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 99ms | 1.4ms | 3.0MB | 90ms | 0ms | crystal 1.16.3 |
crystal | 1.cr | 191ms | 5.3ms | 3.0MB | 183ms | 0ms | crystal 1.16.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 17ms | 0.5ms | 3.0MB | 10ms | 0ms | crystal 1.16.3 |
crystal | 1.cr | 30ms | 0.8ms | 3.0MB | 20ms | 0ms | crystal 1.16.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 2.cr | 343ms | 2.0ms | 3.3MB | 333ms | 0ms | crystal 1.16.3 |
crystal | 1.cr | 345ms | 2.9ms | 3.4MB | 337ms | 0ms | crystal 1.16.3 |
lua | 4.lua | 713ms | 2.3ms | 2.3MB | 707ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | timeout | 0.0ms | 2.3MB | 4990ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 38ms | 1.3ms | 3.3MB | 30ms | 0ms | crystal 1.16.3 |
crystal | 2.cr | 38ms | 0.6ms | 3.3MB | 30ms | 0ms | crystal 1.16.3 |
lua | 4.lua | 75ms | 0.3ms | 2.3MB | 70ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | 1123ms | 35ms | 2.3MB | 1117ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 3757ms | 8.8ms | 4.6MB | 3743ms | 0ms | crystal 1.16.3 |
lua | 1.lua | 4062ms | 9.7ms | 2.5MB | 4053ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.5MB | 4990ms | 0ms | lua 5.4.7 |