Current benchmark data was generated on Thu Feb 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 | 0-unsafe.cr | 38ms | 0.7ms | 3.3MB | 30ms | 0ms | crystal 1.11.2 |
crystal | 1.cr | 67ms | 1.0ms | 3.3MB | 57ms | 0ms | crystal 1.11.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 106ms | 1.1ms | 3.3MB | 97ms | 0ms | crystal 1.11.2 |
crystal | 1.cr | 188ms | 1.0ms | 3.3MB | 180ms | 0ms | crystal 1.11.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 20ms | 1.2ms | 3.1MB | 10ms | 0ms | crystal 1.11.2 |
crystal | 1.cr | 35ms | 1.1ms | 3.1MB | 27ms | 0ms | crystal 1.11.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 342ms | 0.8ms | 3.5MB | 330ms | 0ms | crystal 1.11.2 |
crystal | 2.cr | 348ms | 10ms | 3.5MB | 337ms | 0ms | crystal 1.11.2 |
lua | 4.lua | 707ms | 1.1ms | 2.4MB | 697ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | timeout | 0.0ms | 2.3MB | 4990ms | 0ms | lua 5.4.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 2.cr | 37ms | 0.5ms | 3.5MB | 27ms | 0ms | crystal 1.11.2 |
crystal | 1.cr | 39ms | 1.2ms | 3.6MB | 30ms | 0ms | crystal 1.11.2 |
lua | 4.lua | 76ms | 2.8ms | 2.4MB | 63ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | 1138ms | 22ms | 2.3MB | 1127ms | 0ms | lua 5.4.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 3743ms | 15ms | 4.8MB | 3727ms | 0ms | crystal 1.11.2 |
lua | 1.lua | 4049ms | 5.8ms | 2.5MB | 4037ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | lua 5.4.6 |