Current benchmark data was generated on Tue Mar 25 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 | 826ms | 7.1ms | 22.1MB | 813ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 2249ms | 23ms | 2086.6MB | 1327ms | 910ms | v/clang 0.4.10 |
lua | 1.lua | 3609ms | 57ms | 172.8MB | 3463ms | 133ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 104.9MB | 4947ms | 40ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 72ms | 1.3ms | 4.6MB | 60ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 212ms | 3.0ms | 197.1MB | 120ms | 77ms | v/clang 0.4.10 |
lua | 1.lua | 296ms | 4.6ms | 15.6MB | 273ms | 10ms | luajit 2.1.0-beta3 |
lua | 1.lua | 822ms | 9.4ms | 16.9MB | 810ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 312ms | 1.6ms | 1.6MB | 303ms | 0ms | v/clang 0.4.10 |
v | 1.v | 313ms | 2.4ms | 2.3MB | 303ms | 0ms | v/clang+gc 0.4.10 |
lua | 4.lua | 717ms | 7.0ms | 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 | 4066ms | 6.0ms | 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 | 1030ms | 16ms | 2.4MB | 1020ms | 0ms | luajit 2.1.0-beta3 |
v | 1.v | 1286ms | 3.9ms | 1.5MB | 1277ms | 0ms | v/clang 0.4.10 |
v | 1.v | 1332ms | 3.9ms | 2.5MB | 1323ms | 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.6ms | 2.3MB | 250ms | 0ms | luajit 2.1.0-beta3 |
v | 1.v | 325ms | 1.8ms | 1.5MB | 317ms | 0ms | v/clang 0.4.10 |
v | 1.v | 336ms | 4.5ms | 2.5MB | 323ms | 0ms | v/clang+gc 0.4.10 |
lua | 1.lua | timeout | 0.0ms | 2.1MB | 4990ms | 0ms | lua 5.4.7 |