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.)
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-im.d | 391ms | 24ms | 3.0MB | 1430ms | 0ms | ldc2 1.40.1 |
2-im.d | 1113ms | 7.1ms | 3.0MB | 4320ms | 0ms | ldc2 1.40.1 |
1-i.d | 1485ms | 0.7ms | 2.8MB | 1480ms | 0ms | ldc2 1.40.1 |
1.d | 3141ms | 18ms | 2.9MB | 3133ms | 0ms | ldc2 1.40.1 |
2-i.d | 3237ms | 0.6ms | 2.9MB | 3230ms | 0ms | ldc2 1.40.1 |
1.d | 3539ms | 9.8ms | 4.6MB | 3530ms | 0ms | dmd 2.111.0 |
1-im.d | 4480ms | 46ms | 4.9MB | 17513ms | 7ms | dmd 2.111.0 |
1-i.d | timeout | 0.0ms | 4.5MB | 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 | 19827ms | 10ms | dmd 2.111.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-im.d | 37ms | 0.7ms | 3.1MB | 110ms | 0ms | ldc2 1.40.1 |
2-im.d | 97ms | 0.9ms | 3.0MB | 350ms | 0ms | ldc2 1.40.1 |
1-i.d | 123ms | 0.4ms | 2.8MB | 117ms | 0ms | ldc2 1.40.1 |
2-i.d | 268ms | 1.4ms | 2.9MB | 260ms | 0ms | ldc2 1.40.1 |
1.d | 270ms | 16ms | 2.9MB | 260ms | 0ms | ldc2 1.40.1 |
1.d | 299ms | 2.2ms | 4.6MB | 290ms | 0ms | dmd 2.111.0 |
1-im.d | 378ms | 3.7ms | 4.8MB | 1427ms | 0ms | dmd 2.111.0 |
2-im.d | 547ms | 15ms | 4.9MB | 2003ms | 0ms | dmd 2.111.0 |
1-i.d | 898ms | 12ms | 4.5MB | 887ms | 0ms | dmd 2.111.0 |
2-i.d | 1375ms | 11ms | 4.5MB | 1363ms | 0ms | dmd 2.111.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.d | 129ms | 1.7ms | 6.1MB | 120ms | 0ms | ldc2 1.40.1 |
1.d | 175ms | 2.3ms | 8.1MB | 167ms | 3ms | dmd 2.111.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.d | 3595ms | 8.5ms | 4.0MB | 3583ms | 0ms | ldc2 1.40.1 |
1.d | 3629ms | 18ms | 6.3MB | 3620ms | 0ms | dmd 2.111.0 |