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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 587ms | 13ms | 40.6MB | 570ms | 3ms | odin 2023 |
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 |
odin | 2.odin | 1175ms | 2.5ms | 6.4MB | 1167ms | 0ms | odin 2023 |