Current benchmark data was generated on Sun Dec 01 2024, 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 | 1869ms | 58ms | 49.1MB | 1843ms | 10ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 149ms | 2.9ms | 7.1MB | 140ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 2268ms | 2.9ms | 2.5MB | 2230ms | 27ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 383ms | 1.3ms | 1.9MB | 367ms | 3ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 87ms | 1.0ms | 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.1ms | 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 | 787ms | 3.8ms | 20.4MB | 767ms | 7ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 88ms | 0.8ms | 7.6MB | 73ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 35ms | 1.7ms | 2.9MB | 23ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 98ms | 2.2ms | 2.9MB | 90ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 16ms | 1.3ms | 1.4MB | 10ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 246ms | 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.1ms | 1.3MB | 10ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 829ms | 2.4ms | 41.1MB | 803ms | 10ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 168ms | 1.4ms | 11.1MB | 157ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 2452ms | 1.2ms | 2.3MB | 2417ms | 20ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.zig | 568ms | 3.4ms | 1.8MB | 557ms | 0ms | zig 0.13.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
2-m.zig | 476ms | 6.6ms | 3.8MB | 1563ms | 3ms | zig 0.13.0 |
2.zig | 917ms | 5.5ms | 1.5MB | 907ms | 0ms | zig 0.13.0 |
1.zig | 3670ms | 5.0ms | 1.5MB | 3663ms | 0ms | zig 0.13.0 |