Current benchmark data was generated on Wed Jan 22 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 | 1729ms | 12ms | 49.1MB | 1700ms | 13ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 146ms | 1.2ms | 7.1MB | 137ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 2269ms | 5.3ms | 2.5MB | 2230ms | 23ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 384ms | 2.4ms | 1.9MB | 370ms | 3ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 87ms | 0.6ms | 1.1MB | 80ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 10ms | 0.1ms | 1.1MB | 0ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 1.0ms | 0.1ms | 1.3MB | 0ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 788ms | 2.8ms | 20.8MB | 767ms | 7ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 89ms | 1.6ms | 7.5MB | 73ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 35ms | 1.1ms | 2.9MB | 30ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 97ms | 2.2ms | 2.9MB | 83ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 16ms | 0.6ms | 1.4MB | 10ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 247ms | 0.8ms | 4.2MB | 237ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 12ms | 0.2ms | 1.3MB | 0ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 831ms | 6.3ms | 41.1MB | 800ms | 17ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 170ms | 0.9ms | 11.1MB | 153ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 2472ms | 10ms | 2.3MB | 2437ms | 17ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 566ms | 0.6ms | 1.8MB | 553ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
2-m.zig | 473ms | 1.2ms | 3.9MB | 1583ms | 7ms | zig 0.13.0 |
2.zig | 916ms | 1.6ms | 1.5MB | 903ms | 0ms | zig 0.13.0 |
1.zig | 3670ms | 6.3ms | 1.5MB | 3660ms | 0ms | zig 0.13.0 |