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.)
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-im.d | 377ms | 1.9ms | 3.0MB | 1423ms | 0ms | ldc2 1.41.0 |
2-im.d | 1130ms | 21ms | 3.0MB | 4303ms | 3ms | ldc2 1.41.0 |
1-i.d | 1488ms | 1.6ms | 2.9MB | 1480ms | 0ms | ldc2 1.41.0 |
1.d | 3115ms | 16ms | 2.9MB | 3107ms | 0ms | ldc2 1.41.0 |
2-i.d | 3226ms | 2.2ms | 2.9MB | 3217ms | 0ms | ldc2 1.41.0 |
1.d | 3535ms | 4.3ms | 4.6MB | 3527ms | 0ms | dmd 2.111.0 |
1-im.d | 4491ms | 66ms | 4.8MB | 17510ms | 0ms | dmd 2.111.0 |
1-i.d | timeout | 0.0ms | 4.6MB | 4990ms | 0ms | dmd 2.111.0 |
2-i.d | timeout | 0.0ms | 4.5MB | 4990ms | 0ms | dmd 2.111.0 |
2-im.d | timeout | 0.0ms | 4.9MB | 19723ms | 0ms | dmd 2.111.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-im.d | 37ms | 1.0ms | 3.0MB | 110ms | 0ms | ldc2 1.41.0 |
2-im.d | 96ms | 1.9ms | 3.0MB | 350ms | 0ms | ldc2 1.41.0 |
1-i.d | 123ms | 0.1ms | 2.9MB | 120ms | 0ms | ldc2 1.41.0 |
1.d | 264ms | 3.2ms | 2.9MB | 253ms | 0ms | ldc2 1.41.0 |
2-i.d | 266ms | 0.6ms | 2.8MB | 260ms | 0ms | ldc2 1.41.0 |
1.d | 297ms | 3.2ms | 4.6MB | 290ms | 0ms | dmd 2.111.0 |
1-im.d | 377ms | 1.2ms | 4.9MB | 1430ms | 0ms | dmd 2.111.0 |
2-im.d | 527ms | 0.8ms | 4.9MB | 2003ms | 0ms | dmd 2.111.0 |
1-i.d | 882ms | 15ms | 4.6MB | 873ms | 0ms | dmd 2.111.0 |
2-i.d | 1390ms | 1.3ms | 4.6MB | 1380ms | 0ms | dmd 2.111.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.d | 130ms | 0.9ms | 6.2MB | 120ms | 0ms | ldc2 1.41.0 |
1.d | 175ms | 1.9ms | 7.9MB | 163ms | 3ms | dmd 2.111.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.d | 3594ms | 2.3ms | 4.0MB | 3583ms | 0ms | ldc2 1.41.0 |
1.d | 3630ms | 25ms | 5.9MB | 3620ms | 0ms | dmd 2.111.0 |