Current benchmark data was generated on Wed Mar 22 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.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 782ms | 21ms | 1.6MB | 1483ms | 0ms | ldc2 1.31.0 |
d | 1-i.d | 1464ms | 7.9ms | 1.5MB | 1453ms | 0ms | ldc2 1.31.0 |
d | 2-im.d | 2559ms | 5.0ms | 1.6MB | 4957ms | 0ms | ldc2 1.31.0 |
d | 1.d | 4334ms | 34ms | 1.6MB | 4317ms | 0ms | ldc2 1.31.0 |
d | 2-i.d | 4889ms | 2.6ms | 1.6MB | 4877ms | 0ms | ldc2 1.31.0 |
d | 1.d | 4954ms | 10ms | 2.9MB | 4947ms | 0ms | dmd 2.102.2 |
d | 1-i.d | timeout | 0.0ms | 2.8MB | 4987ms | 0ms | dmd 2.102.2 |
d | 1-im.d | timeout | 0.0ms | 2.9MB | 9770ms | 0ms | dmd 2.102.2 |
d | 2-i.d | timeout | 0.0ms | 2.9MB | 4990ms | 0ms | dmd 2.102.2 |
d | 2-im.d | timeout | 0.0ms | 2.9MB | 9807ms | 3ms | dmd 2.102.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 72ms | 2.9ms | 3.3MB | 120ms | 0ms | ldc2 1.31.0 |
d | 1-i.d | 124ms | 0.7ms | 1.6MB | 113ms | 0ms | ldc2 1.31.0 |
d | 2-im.d | 222ms | 0.5ms | 1.6MB | 400ms | 0ms | ldc2 1.31.0 |
d | 1.d | 355ms | 1.6ms | 1.6MB | 343ms | 0ms | ldc2 1.31.0 |
d | 2-i.d | 405ms | 1.5ms | 1.6MB | 390ms | 0ms | ldc2 1.31.0 |
d | 1.d | 416ms | 1.3ms | 2.9MB | 410ms | 0ms | dmd 2.102.2 |
d | 1-im.d | 426ms | 6.2ms | 4.6MB | 810ms | 0ms | dmd 2.102.2 |
d | 2-im.d | 802ms | 1.1ms | 4.8MB | 1537ms | 0ms | dmd 2.102.2 |
d | 1-i.d | 838ms | 2.9ms | 2.7MB | 820ms | 0ms | dmd 2.102.2 |
d | 2-i.d | 1437ms | 1.3ms | 2.9MB | 1427ms | 0ms | dmd 2.102.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 175ms | 0.4ms | 3.8MB | 170ms | 0ms | ldc2 1.31.0 |
d | 1.d | 254ms | 1.3ms | 5.6MB | 243ms | 0ms | dmd 2.102.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 4290ms | 0.2ms | 3.8MB | 4277ms | 0ms | ldc2 1.31.0 |
d | 1.d | 4783ms | 1.1ms | 6.0MB | 4770ms | 0ms | dmd 2.102.2 |