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.)
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 1831ms | 43ms | 49.0MB | 1800ms | 17ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 155ms | 3.9ms | 7.0MB | 143ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 2263ms | 1.7ms | 2.5MB | 2237ms | 10ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 379ms | 2.2ms | 1.9MB | 363ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 87ms | 1.5ms | 1.0MB | 80ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 11ms | 0.8ms | 1.0MB | 0ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 0.9ms | 0.0ms | 1.1MB | 0ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 33ms | 1.1ms | 2.8MB | 23ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 94ms | 3.9ms | 2.8MB | 87ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 16ms | 1.3ms | 1.3MB | 10ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 248ms | 0.8ms | 4.1MB | 240ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 12ms | 0.1ms | 1.1MB | 10ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 859ms | 8.1ms | 41.0MB | 830ms | 17ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 175ms | 1.5ms | 11.0MB | 163ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 2462ms | 12ms | 2.2MB | 2437ms | 10ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 566ms | 0.9ms | 1.8MB | 560ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 3690ms | 7.6ms | 1.4MB | 3680ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 923ms | 1.2ms | 1.3MB | 910ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 232ms | 0.7ms | 1.3MB | 220ms | 0ms | zig 0.14.0 |