Current benchmark data was generated on Sun Jun 01 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.7ms | 2.9MB | 350ms | 0ms | ldc2 1.40.1 |
d | 2.d | 361ms | 1.1ms | 2.9MB | 350ms | 0ms | ldc2 1.40.1 |
d | 1.d | 678ms | 10ms | 4.8MB | 670ms | 0ms | dmd 2.111.0 |
d | 2.d | 2037ms | 13ms | 4.6MB | 2027ms | 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 | 1.d | 39ms | 0.3ms | 2.9MB | 30ms | 0ms | ldc2 1.40.1 |
d | 2.d | 39ms | 0.4ms | 2.9MB | 30ms | 0ms | ldc2 1.40.1 |
d | 1.d | 71ms | 1.0ms | 4.8MB | 60ms | 0ms | dmd 2.111.0 |
d | 2.d | 210ms | 0.8ms | 4.6MB | 200ms | 0ms | dmd 2.111.0 |
perl | 2.pl | 2719ms | 106ms | 6.1MB | 2707ms | 0ms | perl 5.40.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 3595ms | 3.6ms | 4.0MB | 3587ms | 0ms | ldc2 1.40.1 |
d | 1.d | 3642ms | 31ms | 5.9MB | 3633ms | 0ms | dmd 2.111.0 |
perl | 4.pl | timeout | 0.0ms | 9.9MB | 19830ms | 0ms | perl 5.40.2 |