Current benchmark data was generated on Sun Jun 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 | 638ms | 2.2ms | 1.4MB | 2400ms | 0ms | zig 0.14.1 |
zig | 3-i.zig | 1764ms | 0.6ms | 1.0MB | 1753ms | 0ms | zig 0.14.1 |
dart | 2.dart | 2684ms | 4.0ms | 6.3MB | 2673ms | 0ms | dart/exe 3.8.1 |
zig | 1.zig | 2716ms | 5.8ms | 1.0MB | 2707ms | 0ms | zig 0.14.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 1.zig | 35ms | 0.8ms | 2.8MB | 30ms | 0ms | zig 0.14.1 |
dart | 2.dart | 166ms | 2.9ms | 9.1MB | 157ms | 0ms | dart/exe 3.8.1 |
dart | 1.dart | 570ms | 3.8ms | 8.8MB | 557ms | 0ms | dart/exe 3.8.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 1.zig | 3684ms | 1.8ms | 1.4MB | 3670ms | 0ms | zig 0.14.1 |
dart | 1.dart | 3751ms | 7.5ms | 6.4MB | 3740ms | 0ms | dart/exe 3.8.1 |
dart | 2.dart | 4932ms | 8.5ms | 6.3MB | 4923ms | 0ms | dart/exe 3.8.1 |