Current benchmark data was generated on Thu Jul 13 2023, 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 | 764ms | 7.7ms | 1.6MB | 1467ms | 0ms | ldc2 1.32.2 |
1-i.d | 1437ms | 2.6ms | 1.5MB | 1423ms | 0ms | ldc2 1.32.2 |
2-im.d | 2472ms | 20ms | 1.6MB | 4823ms | 0ms | ldc2 1.32.2 |
1.d | 4308ms | 0.9ms | 1.5MB | 4297ms | 0ms | ldc2 1.32.2 |
2-i.d | 4780ms | 2.9ms | 1.5MB | 4767ms | 0ms | ldc2 1.32.2 |
1.d | 4942ms | 3.0ms | 2.9MB | 4927ms | 0ms | dmd 2.104.1 |
1-i.d | timeout | 0.0ms | 2.8MB | 4987ms | 0ms | dmd 2.104.1 |
1-im.d | timeout | 0.0ms | 2.9MB | 9707ms | 3ms | dmd 2.104.1 |
2-i.d | timeout | 0.0ms | 2.9MB | 4990ms | 0ms | dmd 2.104.1 |
2-im.d | timeout | 0.0ms | 2.9MB | 9800ms | 3ms | dmd 2.104.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-im.d | 73ms | 0.7ms | 1.6MB | 120ms | 0ms | ldc2 1.32.2 |
1-i.d | 122ms | 0.6ms | 1.5MB | 110ms | 0ms | ldc2 1.32.2 |
2-im.d | 215ms | 5.5ms | 3.1MB | 390ms | 0ms | ldc2 1.32.2 |
1.d | 360ms | 1.7ms | 1.5MB | 350ms | 0ms | ldc2 1.32.2 |
2-i.d | 395ms | 0.5ms | 1.5MB | 380ms | 0ms | ldc2 1.32.2 |
1.d | 413ms | 1.0ms | 2.8MB | 403ms | 0ms | dmd 2.104.1 |
1-im.d | 428ms | 2.0ms | 4.6MB | 803ms | 0ms | dmd 2.104.1 |
1-i.d | 807ms | 0.7ms | 2.7MB | 797ms | 0ms | dmd 2.104.1 |
2-im.d | 885ms | 158ms | 4.9MB | 1530ms | 0ms | dmd 2.104.1 |
2-i.d | 1438ms | 0.3ms | 2.8MB | 1423ms | 0ms | dmd 2.104.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.d | 176ms | 1.5ms | 3.8MB | 167ms | 0ms | ldc2 1.32.2 |
1.d | 255ms | 0.2ms | 5.9MB | 243ms | 0ms | dmd 2.104.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.d | 4286ms | 2.3ms | 3.8MB | 4270ms | 0ms | ldc2 1.32.2 |
1.d | 4780ms | 4.8ms | 5.3MB | 4770ms | 0ms | dmd 2.104.1 |