Current benchmark data was generated on Sat Nov 16 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 | 2.cr | 342ms | 2.6ms | 3.4MB | 327ms | 0ms | crystal 1.14.0 |
crystal | 1.cr | 344ms | 2.9ms | 3.4MB | 333ms | 0ms | crystal 1.14.0 |
lua | 4.lua | 716ms | 7.4ms | 2.4MB | 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 | 0.2ms | 3.4MB | 27ms | 0ms | crystal 1.14.0 |
crystal | 2.cr | 39ms | 0.3ms | 3.4MB | 30ms | 0ms | crystal 1.14.0 |
lua | 4.lua | 76ms | 2.2ms | 2.4MB | 67ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | 1120ms | 22ms | 2.3MB | 1107ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 3898ms | 25ms | 4.6MB | 3887ms | 0ms | crystal 1.14.0 |
lua | 1.lua | 4052ms | 6.0ms | 2.5MB | 4043ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.5MB | 4990ms | 0ms | lua 5.4.7 |