Current benchmark data was generated on Tue Dec 31 2024, 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 | 366ms | 4.6ms | 6.9MB | 1363ms | 3ms | ldc2 1.40.0 |
d | 2-im.d | 1052ms | 12ms | 6.9MB | 4073ms | 0ms | ldc2 1.40.0 |
d | 1-i.d | 1410ms | 2.6ms | 2.9MB | 1400ms | 0ms | ldc2 1.40.0 |
d | 1.d | 2946ms | 29ms | 2.9MB | 2937ms | 0ms | ldc2 1.40.0 |
d | 2-i.d | 3069ms | 14ms | 2.9MB | 3057ms | 0ms | ldc2 1.40.0 |
d | 1.d | 3337ms | 28ms | 4.5MB | 3330ms | 0ms | dmd 2.109.1 |
d | 1-im.d | 4021ms | 10ms | 6.9MB | 15707ms | 7ms | dmd 2.109.1 |
d | 1-i.d | timeout | 0.0ms | 4.5MB | 4990ms | 0ms | dmd 2.109.1 |
d | 2-i.d | timeout | 0.0ms | 4.6MB | 4990ms | 0ms | dmd 2.109.1 |
d | 2-im.d | timeout | 0.0ms | 8.8MB | 19697ms | 7ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 39ms | 2.2ms | 5.1MB | 110ms | 0ms | ldc2 1.40.0 |
d | 2-im.d | 96ms | 2.8ms | 4.9MB | 330ms | 0ms | ldc2 1.40.0 |
d | 1-i.d | 118ms | 3.0ms | 2.8MB | 110ms | 0ms | ldc2 1.40.0 |
d | 1.d | 248ms | 2.3ms | 2.8MB | 237ms | 0ms | ldc2 1.40.0 |
d | 2-i.d | 257ms | 5.1ms | 2.9MB | 247ms | 0ms | ldc2 1.40.0 |
d | 1.d | 280ms | 4.8ms | 4.5MB | 273ms | 0ms | dmd 2.109.1 |
d | 1-im.d | 336ms | 2.0ms | 6.9MB | 1270ms | 0ms | dmd 2.109.1 |
d | 2-im.d | 502ms | 2.9ms | 6.9MB | 1903ms | 0ms | dmd 2.109.1 |
d | 1-i.d | 823ms | 13ms | 4.5MB | 813ms | 0ms | dmd 2.109.1 |
d | 2-i.d | 1343ms | 11ms | 4.5MB | 1333ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 115ms | 1.1ms | 5.9MB | 100ms | 10ms | ldc2 1.40.0 |
d | 1.d | 169ms | 2.3ms | 8.1MB | 160ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 340ms | 2.8ms | 2.9MB | 327ms | 0ms | ldc2 1.40.0 |
d | 2.d | 342ms | 3.2ms | 2.9MB | 330ms | 0ms | ldc2 1.40.0 |
d | 1.d | 642ms | 10ms | 4.6MB | 630ms | 0ms | dmd 2.109.1 |
d | 2.d | 1931ms | 36ms | 4.6MB | 1923ms | 0ms | dmd 2.109.1 |
perl | 2.pl | timeout | 0.0ms | 6.1MB | 4987ms | 0ms | perl 5.40.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 37ms | 0.2ms | 2.9MB | 30ms | 0ms | ldc2 1.40.0 |
d | 2.d | 37ms | 0.2ms | 2.9MB | 30ms | 0ms | ldc2 1.40.0 |
d | 1.d | 67ms | 2.1ms | 4.8MB | 60ms | 0ms | dmd 2.109.1 |
d | 2.d | 198ms | 2.4ms | 4.8MB | 190ms | 0ms | dmd 2.109.1 |
perl | 2.pl | 2623ms | 40ms | 6.3MB | 2613ms | 0ms | perl 5.40.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 3388ms | 14ms | 4.0MB | 3377ms | 0ms | ldc2 1.40.0 |
d | 1.d | 3420ms | 19ms | 5.8MB | 3410ms | 0ms | dmd 2.109.1 |
perl | 4.pl | timeout | 0.0ms | 13.8MB | 19753ms | 10ms | perl 5.40.0 |