Current benchmark data was generated on Mon Mar 31 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 |
---|---|---|---|---|---|---|---|
v | 1.v | 788ms | 7.0ms | 22.1MB | 777ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 2188ms | 8.1ms | 2086.6MB | 1257ms | 917ms | v/clang 0.4.10 |
lua | 1.lua | 3623ms | 23ms | 173.0MB | 3477ms | 133ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 104.9MB | 4953ms | 33ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 71ms | 1.0ms | 4.6MB | 60ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 212ms | 6.8ms | 198.0MB | 113ms | 87ms | v/clang 0.4.10 |
lua | 1.lua | 292ms | 3.1ms | 15.9MB | 267ms | 10ms | luajit 2.1.0-beta3 |
lua | 1.lua | 824ms | 5.5ms | 16.9MB | 807ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 312ms | 0.8ms | 1.6MB | 300ms | 0ms | v/clang 0.4.10 |
v | 1.v | 327ms | 27ms | 2.3MB | 317ms | 0ms | v/clang+gc 0.4.10 |
lua | 4.lua | 713ms | 1.8ms | 2.3MB | 703ms | 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 |
---|---|---|---|---|---|---|---|
lua | 1.lua | 4068ms | 9.8ms | 2.5MB | 4057ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | lua 5.4.7 |
v | 1.v | timeout | 0.0ms | 1.6MB | 4990ms | 0ms | v/clang 0.4.10 |
v | 1.v | timeout | 0.0ms | 2.8MB | 4990ms | 0ms | v/clang+gc 0.4.10 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
lua | 1.lua | 1021ms | 2.2ms | 2.4MB | 1010ms | 0ms | luajit 2.1.0-beta3 |
v | 1.v | 1276ms | 2.6ms | 1.5MB | 1270ms | 0ms | v/clang 0.4.10 |
v | 1.v | 1325ms | 2.0ms | 2.5MB | 1317ms | 0ms | v/clang+gc 0.4.10 |
lua | 1.lua | timeout | 0.0ms | 2.1MB | 4990ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
lua | 1.lua | 261ms | 2.8ms | 2.3MB | 250ms | 0ms | luajit 2.1.0-beta3 |
v | 1.v | 324ms | 2.5ms | 1.5MB | 313ms | 0ms | v/clang 0.4.10 |
v | 1.v | 330ms | 1.6ms | 2.5MB | 320ms | 0ms | v/clang+gc 0.4.10 |
lua | 1.lua | timeout | 0.0ms | 2.0MB | 4990ms | 0ms | lua 5.4.7 |