Current benchmark data was generated on Mon Apr 14 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 | 1894ms | 41ms | 49.0MB | 1867ms | 17ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 152ms | 2.5ms | 7.0MB | 140ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 2266ms | 7.9ms | 2.5MB | 2240ms | 17ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 382ms | 1.2ms | 1.9MB | 367ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 87ms | 0.7ms | 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 | 1.0ms | 0.0ms | 1.0MB | 0ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 34ms | 1.8ms | 2.8MB | 23ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 93ms | 2.6ms | 2.8MB | 87ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 15ms | 0.2ms | 1.3MB | 10ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 247ms | 0.1ms | 4.0MB | 240ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 12ms | 0.2ms | 1.1MB | 10ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 905ms | 67ms | 41.0MB | 880ms | 10ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 178ms | 2.5ms | 11.0MB | 170ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 2458ms | 14ms | 2.2MB | 2430ms | 13ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 568ms | 5.0ms | 1.8MB | 557ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 3690ms | 5.3ms | 1.4MB | 3680ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 923ms | 2.2ms | 1.3MB | 913ms | 0ms | zig 0.14.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 234ms | 1.1ms | 1.3MB | 230ms | 0ms | zig 0.14.0 |