Current benchmark data was generated on Tue Dec 31 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 | 0-unsafe.cr | 35ms | 1.9ms | 3.1MB | 23ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 62ms | 2.8ms | 3.1MB | 50ms | 0ms | crystal 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 94ms | 2.9ms | 3.1MB | 83ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 173ms | 1.9ms | 3.1MB | 163ms | 0ms | crystal 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 17ms | 0.4ms | 3.0MB | 10ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 28ms | 0.6ms | 3.0MB | 20ms | 0ms | crystal 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 327ms | 5.3ms | 3.4MB | 313ms | 0ms | crystal 1.14.0 |
crystal | 2.cr | 327ms | 8.1ms | 3.4MB | 313ms | 0ms | crystal 1.14.0 |
lua | 4.lua | 677ms | 3.8ms | 2.3MB | 670ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | timeout | 0.0ms | 2.3MB | 4987ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 2.cr | 36ms | 0.6ms | 3.4MB | 23ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 36ms | 0.8ms | 3.4MB | 30ms | 0ms | crystal 1.14.0 |
lua | 4.lua | 72ms | 3.0ms | 2.3MB | 60ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | 1042ms | 22ms | 2.3MB | 1033ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 3700ms | 16ms | 4.6MB | 3683ms | 3ms | crystal 1.14.0 |
lua | 1.lua | 3844ms | 19ms | 2.5MB | 3830ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | lua 5.4.7 |