Current benchmark data was generated on Sat Mar 29 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.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 2.d | 361ms | 0.7ms | 2.8MB | 350ms | 0ms | ldc2 1.40.1 |
d | 1.d | 362ms | 1.6ms | 2.9MB | 350ms | 0ms | ldc2 1.40.1 |
d | 1.d | 682ms | 2.8ms | 4.6MB | 670ms | 0ms | dmd 2.110.0 |
d | 2.d | 2081ms | 79ms | 4.5MB | 2070ms | 0ms | dmd 2.110.0 |
perl | 2.pl | timeout | 0.0ms | 6.1MB | 4990ms | 0ms | perl 5.40.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 39ms | 0.4ms | 2.9MB | 30ms | 0ms | ldc2 1.40.1 |
d | 2.d | 40ms | 0.3ms | 2.8MB | 30ms | 0ms | ldc2 1.40.1 |
d | 1.d | 73ms | 0.3ms | 4.5MB | 60ms | 0ms | dmd 2.110.0 |
d | 2.d | 208ms | 2.7ms | 4.6MB | 200ms | 0ms | dmd 2.110.0 |
perl | 2.pl | 2754ms | 16ms | 6.1MB | 2743ms | 0ms | perl 5.40.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 3594ms | 1.3ms | 3.9MB | 3580ms | 0ms | ldc2 1.40.1 |
d | 1.d | 3667ms | 17ms | 5.9MB | 3657ms | 0ms | dmd 2.110.0 |
perl | 4.pl | timeout | 0.0ms | 9.8MB | 19777ms | 7ms | perl 5.40.1 |