Current benchmark data was generated on Tue Dec 31 2024, 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 |
---|---|---|---|---|---|---|---|
d | 1.d | 340ms | 2.8ms | 2.9MB | 327ms | 0ms | ldc2 1.40.0 |
d | 2.d | 342ms | 3.2ms | 2.9MB | 330ms | 0ms | ldc2 1.40.0 |
d | 1.d | 642ms | 10ms | 4.6MB | 630ms | 0ms | dmd 2.109.1 |
codon | 1.py | 1232ms | 11ms | 5.8MB | 1220ms | 0ms | codon 0.17.0 |
d | 2.d | 1931ms | 36ms | 4.6MB | 1923ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 37ms | 0.2ms | 2.9MB | 30ms | 0ms | ldc2 1.40.0 |
d | 2.d | 37ms | 0.2ms | 2.9MB | 30ms | 0ms | ldc2 1.40.0 |
d | 1.d | 67ms | 2.1ms | 4.8MB | 60ms | 0ms | dmd 2.109.1 |
codon | 1.py | 131ms | 4.2ms | 7.7MB | 120ms | 0ms | codon 0.17.0 |
d | 2.d | 198ms | 2.4ms | 4.8MB | 190ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 285ms | 1.0ms | 43.7MB | 273ms | 0ms | ldc2 1.40.0 |
d | 1.d | 296ms | 2.6ms | 77.2MB | 277ms | 3ms | dmd 2.109.1 |
codon | 1.py | 348ms | 9.8ms | 46.5MB | 333ms | 0ms | codon 0.17.0 |
d | 2.d | 798ms | 3.1ms | 47.7MB | 777ms | 10ms | ldc2 1.40.0 |
codon | 2.py | 805ms | 5.6ms | 99.9MB | 790ms | 13ms | codon 0.17.0 |
d | 2.d | 1115ms | 19ms | 49.3MB | 1100ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 58ms | 2.9ms | 13.7MB | 47ms | 3ms | ldc2 1.40.0 |
d | 1.d | 62ms | 1.1ms | 23.9MB | 47ms | 3ms | dmd 2.109.1 |
codon | 1.py | 71ms | 1.3ms | 15.3MB | 57ms | 0ms | codon 0.17.0 |
codon | 2.py | 185ms | 0.8ms | 25.8MB | 170ms | 3ms | codon 0.17.0 |
d | 2.d | 196ms | 2.3ms | 15.7MB | 177ms | 3ms | ldc2 1.40.0 |
d | 2.d | 274ms | 1.6ms | 17.6MB | 260ms | 0ms | dmd 2.109.1 |