Current benchmark data was generated on Thu May 01 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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 156ms | 3.3ms | 1.6MB | 150ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 286ms | 4.5ms | 40.6MB | 273ms | 3ms | odin 2024 |
codon | 1-m.py | 444ms | 7.4ms | 47.7MB | 747ms | 0ms | codon 0.18.2 |
odin | 2.odin | 695ms | 43ms | 6.5MB | 683ms | 0ms | odin 2024 |
codon | 2.py | 1528ms | 20ms | 100.8MB | 1827ms | 30ms | codon 0.18.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 55ms | 5.9ms | 11.4MB | 43ms | 0ms | odin 2024 |
codon | 1-m.py | 127ms | 3.2ms | 18.4MB | 427ms | 0ms | codon 0.18.2 |
odin | 2.odin | 183ms | 3.1ms | 2.8MB | 173ms | 0ms | odin 2024 |
codon | 2-m.py | 398ms | 9.8ms | 27.1MB | 707ms | 3ms | codon 0.18.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 3599ms | 3.9ms | 2.9MB | 3590ms | 0ms | odin 2024 |