Current benchmark data was generated on Sun Jul 13 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 | 637ms | 8.5ms | 1.4MB | 2413ms | 0ms | zig 0.14.1 |
zig | 3-i.zig | 1765ms | 1.9ms | 1.0MB | 1757ms | 0ms | zig 0.14.1 |
zig | 1.zig | 2719ms | 3.6ms | 1.0MB | 2710ms | 0ms | zig 0.14.1 |
dart | 2.dart | 2931ms | 12ms | 6.3MB | 2923ms | 0ms | dart/exe 3.8.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 1.zig | 33ms | 1.2ms | 2.8MB | 27ms | 0ms | zig 0.14.1 |
dart | 2.dart | 166ms | 4.9ms | 9.1MB | 153ms | 0ms | dart/exe 3.8.1 |
dart | 1.dart | 572ms | 3.4ms | 9.1MB | 557ms | 0ms | dart/exe 3.8.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 1.zig | 3686ms | 3.7ms | 1.4MB | 3677ms | 0ms | zig 0.14.1 |
dart | 1.dart | 3748ms | 2.0ms | 6.4MB | 3740ms | 0ms | dart/exe 3.8.1 |
dart | 2.dart | 4934ms | 6.4ms | 6.4MB | 4923ms | 0ms | dart/exe 3.8.1 |