Current benchmark data was generated on Mon Apr 14 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.8ms | 2.9MB | 350ms | 0ms | ldc2 1.40.1 |
d | 1.d | 362ms | 1.7ms | 2.9MB | 350ms | 0ms | ldc2 1.40.1 |
d | 1.d | 689ms | 3.9ms | 4.6MB | 680ms | 0ms | dmd 2.111.0 |
d | 2.d | 2028ms | 2.4ms | 4.8MB | 2020ms | 0ms | dmd 2.111.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 | 39ms | 0.5ms | 2.9MB | 30ms | 0ms | ldc2 1.40.1 |
d | 1.d | 71ms | 0.7ms | 4.6MB | 60ms | 0ms | dmd 2.111.0 |
d | 2.d | 207ms | 2.0ms | 4.8MB | 200ms | 0ms | dmd 2.111.0 |
perl | 2.pl | 2936ms | 340ms | 6.1MB | 2927ms | 0ms | perl 5.40.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 3597ms | 3.3ms | 3.9MB | 3583ms | 0ms | ldc2 1.40.1 |
d | 1.d | 3641ms | 25ms | 6.0MB | 3633ms | 0ms | dmd 2.111.0 |
perl | 4.pl | timeout | 0.0ms | 9.8MB | 19750ms | 10ms | perl 5.40.1 |