Current benchmark data was generated on Thu May 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 |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 632ms | 6.8ms | 1.4MB | 2400ms | 0ms | zig 0.14.0 |
zig | 3-i.zig | 1765ms | 2.1ms | 1.0MB | 1757ms | 0ms | zig 0.14.0 |
dart | 2.dart | 2709ms | 2.1ms | 6.1MB | 2697ms | 0ms | dart/exe 3.7.3 |
zig | 1.zig | 2717ms | 3.5ms | 1.0MB | 2707ms | 0ms | zig 0.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 1.zig | 35ms | 2.4ms | 2.8MB | 27ms | 0ms | zig 0.14.0 |
dart | 2.dart | 167ms | 3.0ms | 9.1MB | 157ms | 0ms | dart/exe 3.7.3 |
dart | 1.dart | 491ms | 4.6ms | 9.0MB | 483ms | 0ms | dart/exe 3.7.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 1.zig | 3689ms | 4.3ms | 1.4MB | 3683ms | 0ms | zig 0.14.0 |
dart | 1.dart | 3773ms | 11ms | 6.4MB | 3760ms | 0ms | dart/exe 3.7.3 |
dart | 2.dart | 4350ms | 7.7ms | 6.4MB | 4340ms | 0ms | dart/exe 3.7.3 |