Current benchmark data was generated on Fri Aug 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 |
---|---|---|---|---|---|---|---|
v | 1.v | 784ms | 5.2ms | 22.1MB | 770ms | 0ms | v/clang+gc 0.4.11 |
d | 1.d | 2187ms | 1.9ms | 312.5MB | 2160ms | 33ms | ldc2 1.41.0 |
v | 1.v | 2201ms | 13ms | 2086.6MB | 1303ms | 883ms | v/clang 0.4.11 |
d | 1.d | 3000ms | 18ms | 314.1MB | 3163ms | 50ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | timeout | 0.0ms | 16.5MB | 4970ms | 17ms | dmd 2.111.0 |
d | 1.d | timeout | 0.0ms | 17.5MB | 4963ms | 27ms | ldc2 1.41.0 |
v | 1.v | timeout | 0.0ms | 18.3MB | 8357ms | 10907ms | v/clang 0.4.11 |
v | 1.v | timeout | 0.0ms | 18.8MB | 9280ms | 10013ms | v/clang+gc 0.4.11 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 1058ms | 5.4ms | 10.2MB | 1033ms | 10ms | ldc2 1.41.0 |
d | 1.d | 1373ms | 11ms | 12.5MB | 1350ms | 10ms | dmd 2.111.0 |
v | 1-m.v | 1379ms | 60ms | 10.0MB | 2250ms | 2973ms | v/clang 0.4.11 |
v | 1-m.v | 1516ms | 123ms | 10.5MB | 2680ms | 3060ms | v/clang+gc 0.4.11 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 374ms | 6.5ms | 3.0MB | 1420ms | 0ms | ldc2 1.41.0 |
d | 2-im.d | 1109ms | 4.2ms | 3.0MB | 4320ms | 0ms | ldc2 1.41.0 |
d | 1-i.d | 1489ms | 0.4ms | 2.9MB | 1480ms | 0ms | ldc2 1.41.0 |
v | 1.v | 2224ms | 12ms | 1.9MB | 2213ms | 0ms | v/clang+gc 0.4.11 |
v | 1.v | 2254ms | 5.4ms | 1.1MB | 2247ms | 0ms | v/clang 0.4.11 |
d | 1.d | 3152ms | 15ms | 2.9MB | 3140ms | 0ms | ldc2 1.41.0 |
d | 2-i.d | 3224ms | 2.6ms | 2.9MB | 3213ms | 0ms | ldc2 1.41.0 |
d | 1.d | 3538ms | 5.1ms | 4.6MB | 3527ms | 0ms | dmd 2.111.0 |
d | 1-im.d | 4488ms | 40ms | 4.9MB | 17597ms | 0ms | dmd 2.111.0 |
d | 1-i.d | timeout | 0.0ms | 4.6MB | 4990ms | 0ms | dmd 2.111.0 |
d | 2-i.d | timeout | 0.0ms | 4.6MB | 4990ms | 0ms | dmd 2.111.0 |
d | 2-im.d | timeout | 0.0ms | 4.9MB | 19753ms | 7ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 36ms | 1.2ms | 3.1MB | 110ms | 0ms | ldc2 1.41.0 |
d | 2-im.d | 97ms | 2.1ms | 3.0MB | 350ms | 0ms | ldc2 1.41.0 |
d | 1-i.d | 124ms | 0.3ms | 2.9MB | 120ms | 0ms | ldc2 1.41.0 |
v | 1.v | 189ms | 1.9ms | 1.9MB | 180ms | 0ms | v/clang+gc 0.4.11 |
v | 1.v | 192ms | 0.3ms | 1.1MB | 180ms | 0ms | v/clang 0.4.11 |
d | 1.d | 261ms | 0.5ms | 2.9MB | 250ms | 0ms | ldc2 1.41.0 |
d | 2-i.d | 266ms | 1.0ms | 2.9MB | 260ms | 0ms | ldc2 1.41.0 |
d | 1.d | 297ms | 2.2ms | 4.6MB | 287ms | 0ms | dmd 2.111.0 |
d | 1-im.d | 376ms | 0.8ms | 4.8MB | 1433ms | 0ms | dmd 2.111.0 |
d | 2-im.d | 525ms | 3.2ms | 5.1MB | 2010ms | 0ms | dmd 2.111.0 |
d | 1-i.d | 880ms | 8.2ms | 4.6MB | 870ms | 0ms | dmd 2.111.0 |
d | 2-i.d | 1375ms | 1.1ms | 4.6MB | 1363ms | 0ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 130ms | 1.7ms | 6.1MB | 120ms | 0ms | ldc2 1.41.0 |
d | 1.d | 176ms | 2.3ms | 8.1MB | 163ms | 7ms | dmd 2.111.0 |
v | 1.v | 240ms | 1.6ms | 1.3MB | 230ms | 0ms | v/clang 0.4.11 |
v | 1.v | 258ms | 2.6ms | 2.1MB | 250ms | 0ms | v/clang+gc 0.4.11 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 312ms | 1.0ms | 2.3MB | 300ms | 0ms | v/clang+gc 0.4.11 |
v | 1.v | 314ms | 1.2ms | 1.6MB | 307ms | 0ms | v/clang 0.4.11 |
d | 1.d | 361ms | 0.5ms | 2.9MB | 350ms | 0ms | ldc2 1.41.0 |
d | 2.d | 361ms | 1.4ms | 2.9MB | 350ms | 0ms | ldc2 1.41.0 |
d | 1.d | 683ms | 2.2ms | 4.8MB | 673ms | 0ms | dmd 2.111.0 |
d | 2.d | 2033ms | 7.1ms | 4.8MB | 2023ms | 0ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 33ms | 0.3ms | 1.6MB | 30ms | 0ms | v/clang 0.4.11 |
v | 1.v | 33ms | 0.3ms | 2.3MB | 30ms | 0ms | v/clang+gc 0.4.11 |
d | 2.d | 39ms | 0.7ms | 2.9MB | 30ms | 0ms | ldc2 1.41.0 |
d | 1.d | 39ms | 0.3ms | 2.9MB | 30ms | 0ms | ldc2 1.41.0 |
d | 1.d | 71ms | 1.1ms | 4.8MB | 60ms | 0ms | dmd 2.111.0 |
d | 2.d | 208ms | 2.9ms | 4.8MB | 200ms | 0ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 299ms | 7.9ms | 41.2MB | 287ms | 0ms | v/clang+gc 0.4.11 |
v | 1.v | 301ms | 3.8ms | 40.3MB | 287ms | 0ms | v/clang 0.4.11 |
d | 1.d | 303ms | 7.2ms | 43.5MB | 287ms | 0ms | ldc2 1.41.0 |
v | 2.v | 332ms | 2.5ms | 6.1MB | 323ms | 0ms | v/clang 0.4.11 |
v | 2.v | 333ms | 5.6ms | 6.9MB | 323ms | 0ms | v/clang+gc 0.4.11 |
d | 1.d | 345ms | 5.5ms | 79.3MB | 327ms | 3ms | dmd 2.111.0 |
d | 2.d | 846ms | 5.3ms | 47.7MB | 827ms | 7ms | ldc2 1.41.0 |
d | 2.d | 1170ms | 7.1ms | 51.6MB | 1150ms | 7ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 61ms | 2.3ms | 19.0MB | 50ms | 0ms | v/clang+gc 0.4.11 |
v | 1.v | 62ms | 1.5ms | 11.0MB | 50ms | 0ms | v/clang 0.4.11 |
d | 1.d | 64ms | 2.7ms | 15.7MB | 53ms | 0ms | ldc2 1.41.0 |
d | 1.d | 75ms | 1.7ms | 25.5MB | 67ms | 0ms | dmd 2.111.0 |
v | 2.v | 82ms | 1.6ms | 2.4MB | 70ms | 0ms | v/clang 0.4.11 |
v | 2.v | 83ms | 1.9ms | 3.1MB | 73ms | 0ms | v/clang+gc 0.4.11 |
d | 2.d | 210ms | 2.0ms | 17.7MB | 200ms | 0ms | ldc2 1.41.0 |
d | 2.d | 295ms | 1.1ms | 19.7MB | 280ms | 0ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 3597ms | 3.2ms | 6.2MB | 3587ms | 0ms | ldc2 1.41.0 |
d | 1.d | 3655ms | 25ms | 8.4MB | 3643ms | 0ms | dmd 2.111.0 |
v | 1.v | timeout | 0.0ms | 1.6MB | 4990ms | 0ms | v/clang 0.4.11 |
v | 1.v | timeout | 0.0ms | 2.8MB | 4990ms | 0ms | v/clang+gc 0.4.11 |