Current benchmark data was generated on Sun Jan 29 2023, 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 | 514ms | 1.1ms | 3.0MB | 500ms | 0ms | crystal 1.7.2 |
crystal | 2.cr | 535ms | 0.2ms | 2.9MB | 530ms | 0ms | crystal 1.7.2 |
lua | 4.lua | 1104ms | 10ms | 1.5MB | 1093ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | lua 5.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 54ms | 0.2ms | 2.9MB | 43ms | 0ms | crystal 1.7.2 |
crystal | 2.cr | 56ms | 0.1ms | 2.9MB | 43ms | 0ms | crystal 1.7.2 |
lua | 4.lua | 114ms | 1.8ms | 2.3MB | 100ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | 1204ms | 27ms | 1.4MB | 1190ms | 0ms | lua 5.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | timeout | 0.0ms | 4.1MB | 4987ms | 0ms | crystal 1.7.2 |
lua | 1.lua | timeout | 0.0ms | 2.3MB | 4990ms | 0ms | lua 5.4.4 |
lua | 1.lua | timeout | 0.0ms | 2.6MB | 4990ms | 0ms | luajit 2.1.0-beta3 |