Current benchmark data was generated on Mon May 19 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 | 387ms | 21ms | 3.0MB | 1427ms | 0ms | ldc2 1.40.1 |
2-im.d | 1132ms | 37ms | 3.0MB | 4310ms | 0ms | ldc2 1.40.1 |
1-i.d | 1484ms | 1.2ms | 2.8MB | 1477ms | 0ms | ldc2 1.40.1 |
1.d | 3132ms | 33ms | 2.9MB | 3123ms | 0ms | ldc2 1.40.1 |
2-i.d | 3237ms | 4.9ms | 2.9MB | 3227ms | 0ms | ldc2 1.40.1 |
1.d | 3534ms | 7.1ms | 4.6MB | 3523ms | 0ms | dmd 2.111.0 |
1-im.d | 4468ms | 16ms | 4.8MB | 17560ms | 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.6MB | 4990ms | 0ms | dmd 2.111.0 |
2-im.d | timeout | 0.0ms | 4.9MB | 19707ms | 17ms | dmd 2.111.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-im.d | 37ms | 0.6ms | 3.0MB | 110ms | 0ms | ldc2 1.40.1 |
2-im.d | 98ms | 2.5ms | 3.0MB | 350ms | 0ms | ldc2 1.40.1 |
1-i.d | 124ms | 0.6ms | 2.9MB | 120ms | 0ms | ldc2 1.40.1 |
1.d | 262ms | 2.0ms | 2.9MB | 250ms | 0ms | ldc2 1.40.1 |
2-i.d | 268ms | 1.7ms | 2.9MB | 260ms | 0ms | ldc2 1.40.1 |
1.d | 295ms | 1.4ms | 4.6MB | 287ms | 0ms | dmd 2.111.0 |
1-im.d | 378ms | 2.8ms | 4.9MB | 1427ms | 0ms | dmd 2.111.0 |
2-im.d | 531ms | 3.0ms | 4.9MB | 2003ms | 0ms | dmd 2.111.0 |
1-i.d | 902ms | 8.7ms | 4.6MB | 893ms | 0ms | dmd 2.111.0 |
2-i.d | 1382ms | 5.8ms | 4.5MB | 1373ms | 0ms | dmd 2.111.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.d | 131ms | 0.7ms | 6.2MB | 120ms | 0ms | ldc2 1.40.1 |
1.d | 176ms | 0.9ms | 8.0MB | 167ms | 3ms | dmd 2.111.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.d | 3596ms | 3.2ms | 3.9MB | 3583ms | 0ms | ldc2 1.40.1 |
1.d | 3660ms | 2.7ms | 6.0MB | 3650ms | 0ms | dmd 2.111.0 |