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 |
ocaml | 2.ml | 2795ms | 29ms | 4.9MB | 2783ms | 0ms | ocaml 5.2.1 |
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 |
ocaml | 2.ml | 234ms | 2.1ms | 4.9MB | 223ms | 0ms | ocaml 5.2.1 |
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 |
ocaml | 1.ml | 165ms | 2.2ms | 6.4MB | 157ms | 0ms | ocaml 5.2.1 |
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 | 894ms | 6.6ms | 312.8MB | 857ms | 37ms | ldc2 1.40.0 |
ocaml | 1.ml | 1039ms | 0.6ms | 70.2MB | 997ms | 27ms | ocaml 5.2.1 |
d | 1.d | 1665ms | 7.6ms | 314.0MB | 1790ms | 33ms | dmd 2.109.1 |
ocaml | 2.ml | 1948ms | 8.6ms | 91.8MB | 1900ms | 30ms | ocaml 5.2.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 |
ocaml | 1.ml | 351ms | 2.4ms | 5.2MB | 340ms | 0ms | ocaml 5.2.1 |
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 |
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 |
ocaml | 1.ml | 40ms | 1.6ms | 5.2MB | 30ms | 0ms | ocaml 5.2.1 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 285ms | 1.0ms | 43.7MB | 273ms | 0ms | ldc2 1.40.0 |
d | 1.d | 296ms | 2.6ms | 77.2MB | 277ms | 3ms | dmd 2.109.1 |
d | 2.d | 798ms | 3.1ms | 47.7MB | 777ms | 10ms | ldc2 1.40.0 |
ocaml | 1.ml | 887ms | 4.5ms | 550.8MB | 827ms | 43ms | ocaml 5.2.1 |
d | 2.d | 1115ms | 19ms | 49.3MB | 1100ms | 0ms | dmd 2.109.1 |
ocaml | 2.ml | 1822ms | 17ms | 18.6MB | 1810ms | 0ms | ocaml 5.2.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 58ms | 2.9ms | 13.7MB | 47ms | 3ms | ldc2 1.40.0 |
d | 1.d | 62ms | 1.1ms | 23.9MB | 47ms | 3ms | dmd 2.109.1 |
ocaml | 1.ml | 171ms | 3.0ms | 142.3MB | 147ms | 10ms | ocaml 5.2.1 |
d | 2.d | 196ms | 2.3ms | 15.7MB | 177ms | 3ms | ldc2 1.40.0 |
d | 2.d | 274ms | 1.6ms | 17.6MB | 260ms | 0ms | dmd 2.109.1 |
ocaml | 2.ml | 451ms | 8.0ms | 9.1MB | 437ms | 0ms | ocaml 5.2.1 |
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 |
ocaml | 2.ml | 4270ms | 34ms | 6.3MB | 4260ms | 0ms | ocaml 5.2.1 |