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.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 473ms | 1.2ms | 3.9MB | 1583ms | 7ms | zig 0.13.0 |
zig | 2.zig | 916ms | 1.6ms | 1.5MB | 903ms | 0ms | zig 0.13.0 |
chapel | 1-m.chpl | 1913ms | 0.6ms | 32.8MB | 3787ms | 0ms | chpl 1.31.0 |
zig | 1.zig | 3670ms | 6.3ms | 1.5MB | 3660ms | 0ms | zig 0.13.0 |
chapel | 1.chpl | 3715ms | 5.7ms | 32.8MB | 3700ms | 0ms | chpl 1.31.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 125ms | 0.3ms | 3.7MB | 273ms | 3ms | zig 0.13.0 |
zig | 2.zig | 231ms | 2.4ms | 1.4MB | 220ms | 0ms | zig 0.13.0 |
chapel | 1-m.chpl | 497ms | 2.2ms | 32.9MB | 960ms | 0ms | chpl 1.31.0 |
zig | 1.zig | 921ms | 1.9ms | 1.4MB | 910ms | 0ms | zig 0.13.0 |
chapel | 1.chpl | 945ms | 2.0ms | 32.8MB | 937ms | 0ms | chpl 1.31.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 39ms | 1.5ms | 3.7MB | 33ms | 0ms | zig 0.13.0 |
zig | 2.zig | 60ms | 0.8ms | 1.4MB | 50ms | 0ms | zig 0.13.0 |
chapel | 1-m.chpl | 140ms | 2.4ms | 32.9MB | 247ms | 0ms | chpl 1.31.0 |
zig | 1.zig | 232ms | 0.8ms | 1.4MB | 220ms | 0ms | zig 0.13.0 |
chapel | 1.chpl | 255ms | 3.6ms | 32.8MB | 247ms | 3ms | chpl 1.31.0 |