Current benchmark data was generated on Mon May 19 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 | 796ms | 22ms | 28.9MB | 780ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 2199ms | 17ms | 2086.6MB | 1293ms | 890ms | v/clang 0.4.10 |
lua | 1.lua | 3557ms | 39ms | 172.9MB | 3410ms | 133ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 104.9MB | 4953ms | 37ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 71ms | 2.0ms | 4.6MB | 60ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 216ms | 3.7ms | 197.9MB | 113ms | 87ms | v/clang 0.4.10 |
lua | 1.lua | 292ms | 2.5ms | 15.8MB | 270ms | 7ms | luajit 2.1.0-beta3 |
lua | 1.lua | 818ms | 6.5ms | 17.0MB | 800ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 310ms | 0.2ms | 1.6MB | 300ms | 0ms | v/clang 0.4.10 |
v | 1.v | 312ms | 1.4ms | 2.3MB | 303ms | 0ms | v/clang+gc 0.4.10 |
lua | 4.lua | 714ms | 3.6ms | 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 | 4074ms | 26ms | 2.5MB | 4067ms | 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 | 1025ms | 6.0ms | 2.4MB | 1013ms | 0ms | luajit 2.1.0-beta3 |
v | 1.v | 1285ms | 1.0ms | 1.5MB | 1280ms | 0ms | v/clang 0.4.10 |
v | 1.v | 1299ms | 3.2ms | 2.5MB | 1290ms | 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 | 259ms | 1.6ms | 2.3MB | 250ms | 0ms | luajit 2.1.0-beta3 |
v | 1.v | 324ms | 1.0ms | 1.5MB | 313ms | 0ms | v/clang 0.4.10 |
v | 1.v | 328ms | 1.2ms | 2.5MB | 320ms | 0ms | v/clang+gc 0.4.10 |
lua | 1.lua | timeout | 0.0ms | 2.0MB | 4990ms | 0ms | lua 5.4.7 |