Current benchmark data was generated on Sun Jul 13 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 | 1.d | 360ms | 0.2ms | 2.9MB | 350ms | 0ms | ldc2 1.41.0 |
d | 2.d | 361ms | 1.9ms | 2.9MB | 350ms | 0ms | ldc2 1.41.0 |
d | 1.d | 678ms | 2.2ms | 4.6MB | 670ms | 0ms | dmd 2.111.0 |
d | 2.d | 2033ms | 7.7ms | 4.8MB | 2023ms | 0ms | dmd 2.111.0 |
perl | 2.pl | timeout | 0.0ms | 6.1MB | 4990ms | 0ms | perl 5.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 2.d | 38ms | 0.3ms | 2.9MB | 30ms | 0ms | ldc2 1.41.0 |
d | 1.d | 39ms | 0.4ms | 2.9MB | 30ms | 0ms | ldc2 1.41.0 |
d | 1.d | 72ms | 0.1ms | 4.8MB | 60ms | 0ms | dmd 2.111.0 |
d | 2.d | 207ms | 2.8ms | 4.8MB | 197ms | 0ms | dmd 2.111.0 |
perl | 2.pl | 2731ms | 3.5ms | 6.1MB | 2723ms | 0ms | perl 5.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 3594ms | 2.3ms | 4.0MB | 3583ms | 0ms | ldc2 1.41.0 |
d | 1.d | 3630ms | 25ms | 5.9MB | 3620ms | 0ms | dmd 2.111.0 |
perl | 4.pl | timeout | 0.0ms | 10.0MB | 19643ms | 7ms | perl 5.40.2 |