Current benchmark data was generated on Sun Jul 13 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 |
---|---|---|---|---|---|---|---|
d | 1.d | 360ms | 0.2ms | 2.9MB | 350ms | 0ms | ldc2 1.41.0 |
d | 2.d | 361ms | 1.9ms | 2.9MB | 350ms | 0ms | ldc2 1.41.0 |
d | 1.d | 678ms | 2.2ms | 4.6MB | 670ms | 0ms | dmd 2.111.0 |
codon | 1.py | 1318ms | 1.0ms | 9.4MB | 1627ms | 0ms | codon 0.19.0 |
d | 2.d | 2033ms | 7.7ms | 4.8MB | 2023ms | 0ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 2.d | 38ms | 0.3ms | 2.9MB | 30ms | 0ms | ldc2 1.41.0 |
d | 1.d | 39ms | 0.4ms | 2.9MB | 30ms | 0ms | ldc2 1.41.0 |
d | 1.d | 72ms | 0.1ms | 4.8MB | 60ms | 0ms | dmd 2.111.0 |
codon | 1-m.py | 176ms | 3.2ms | 9.4MB | 487ms | 0ms | codon 0.19.0 |
d | 2.d | 207ms | 2.8ms | 4.8MB | 197ms | 0ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 300ms | 2.3ms | 45.7MB | 287ms | 0ms | ldc2 1.41.0 |
d | 1.d | 347ms | 3.8ms | 79.3MB | 333ms | 3ms | dmd 2.111.0 |
codon | 1-m.py | 410ms | 9.1ms | 48.4MB | 713ms | 3ms | codon 0.19.0 |
d | 2.d | 843ms | 2.4ms | 49.7MB | 830ms | 3ms | ldc2 1.41.0 |
codon | 2.py | 903ms | 4.6ms | 100.8MB | 1207ms | 20ms | codon 0.19.0 |
d | 2.d | 1172ms | 3.3ms | 49.3MB | 1157ms | 3ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 64ms | 3.3ms | 15.7MB | 53ms | 0ms | ldc2 1.41.0 |
d | 1.d | 76ms | 1.6ms | 25.2MB | 63ms | 0ms | dmd 2.111.0 |
codon | 1-m.py | 118ms | 3.1ms | 18.9MB | 423ms | 0ms | codon 0.19.0 |
d | 2.d | 213ms | 1.6ms | 17.7MB | 200ms | 0ms | ldc2 1.41.0 |
codon | 2-m.py | 236ms | 3.0ms | 27.6MB | 540ms | 3ms | codon 0.19.0 |
d | 2.d | 291ms | 1.5ms | 19.6MB | 280ms | 0ms | dmd 2.111.0 |