Current benchmark data was generated on Tue Jul 01 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 | 846ms | 4.8ms | 22.1MB | 833ms | 0ms | v/clang+gc 0.4.11 |
v | 1.v | 2181ms | 5.3ms | 2086.6MB | 1273ms | 893ms | v/clang 0.4.11 |
lua | 1.lua | 3562ms | 89ms | 173.0MB | 3437ms | 113ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 105.0MB | 4953ms | 37ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 74ms | 0.6ms | 4.6MB | 67ms | 0ms | v/clang+gc 0.4.11 |
v | 1.v | 208ms | 1.1ms | 196.4MB | 117ms | 77ms | v/clang 0.4.11 |
lua | 1.lua | 289ms | 0.8ms | 15.8MB | 260ms | 10ms | luajit 2.1.0-beta3 |
lua | 1.lua | 828ms | 3.7ms | 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 | 264ms | 2.4ms | 2.1MB | 253ms | 0ms | v/clang+gc 0.4.11 |
v | 1.v | 265ms | 4.9ms | 1.3MB | 257ms | 0ms | v/clang 0.4.11 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 312ms | 1.5ms | 1.6MB | 300ms | 0ms | v/clang 0.4.11 |
v | 1.v | 312ms | 1.3ms | 2.3MB | 300ms | 0ms | v/clang+gc 0.4.11 |
lua | 4.lua | 715ms | 1.4ms | 2.4MB | 710ms | 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 | 4063ms | 3.7ms | 2.5MB | 4053ms | 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.11 |
v | 1.v | timeout | 0.0ms | 2.8MB | 4990ms | 0ms | v/clang+gc 0.4.11 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
lua | 1.lua | 1020ms | 2.2ms | 2.4MB | 1010ms | 0ms | luajit 2.1.0-beta3 |
v | 1.v | 1290ms | 4.5ms | 1.5MB | 1283ms | 0ms | v/clang 0.4.11 |
v | 1.v | 1320ms | 1.5ms | 2.5MB | 1310ms | 0ms | v/clang+gc 0.4.11 |
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 | 258ms | 0.3ms | 2.3MB | 250ms | 0ms | luajit 2.1.0-beta3 |
v | 1.v | 327ms | 5.0ms | 1.5MB | 320ms | 0ms | v/clang 0.4.11 |
v | 1.v | 331ms | 1.7ms | 2.4MB | 320ms | 0ms | v/clang+gc 0.4.11 |
lua | 1.lua | timeout | 0.0ms | 2.0MB | 4990ms | 0ms | lua 5.4.7 |