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 |
---|---|---|---|---|---|---|---|
v | 1.v | 305ms | 4.9ms | 40.3MB | 287ms | 0ms | v/clang 0.4.10 |
v | 1.v | 312ms | 1.2ms | 60.6MB | 297ms | 0ms | v/clang+gc 0.4.10 |
v | 2.v | 333ms | 3.9ms | 6.1MB | 323ms | 0ms | v/clang 0.4.10 |
v | 2.v | 338ms | 1.5ms | 6.9MB | 330ms | 0ms | v/clang+gc 0.4.10 |
codon | 1-m.py | 444ms | 7.4ms | 47.7MB | 747ms | 0ms | codon 0.18.2 |
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 |
---|---|---|---|---|---|---|---|
v | 1.v | 60ms | 2.6ms | 11.9MB | 50ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 61ms | 3.4ms | 11.0MB | 50ms | 0ms | v/clang 0.4.10 |
v | 2.v | 82ms | 1.3ms | 3.1MB | 73ms | 0ms | v/clang+gc 0.4.10 |
v | 2.v | 83ms | 2.2ms | 2.4MB | 77ms | 0ms | v/clang 0.4.10 |
codon | 1-m.py | 127ms | 3.2ms | 18.4MB | 427ms | 0ms | codon 0.18.2 |
codon | 2-m.py | 398ms | 9.8ms | 27.1MB | 707ms | 3ms | codon 0.18.2 |