Current benchmark data was generated on Thu Jul 13 2023, 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.zig | 430ms | 5.5ms | 6.0MB | 413ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
zig | 1.zig | 524ms | 19ms | 40.3MB | 497ms | 10ms | zig 0.11.0-dev.3978+711b4e93e |
codon | 1.py | 682ms | 64ms | 44.5MB | 657ms | 10ms | codon 0.16.2 |
codon | 2.py | 911ms | 35ms | 104.9MB | 883ms | 13ms | codon 0.16.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2.zig | 94ms | 0.1ms | 2.3MB | 87ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
zig | 1.zig | 117ms | 0.6ms | 11.1MB | 107ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
codon | 1.py | 150ms | 1.1ms | 15.1MB | 140ms | 0ms | codon 0.16.2 |
codon | 2.py | 202ms | 0.9ms | 25.6MB | 183ms | 7ms | codon 0.16.2 |