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 |
---|---|---|---|---|---|---|---|
v | 1.v | 775ms | 3.4ms | 22.2MB | 760ms | 0ms | v/clang+gc 0.4.10 |
d | 1.d | 1768ms | 21ms | 312.6MB | 1733ms | 40ms | ldc2 1.40.1 |
v | 1.v | 2160ms | 14ms | 2086.6MB | 1263ms | 880ms | v/clang 0.4.10 |
d | 1.d | 3074ms | 138ms | 314.1MB | 3237ms | 53ms | 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.4MB | 4963ms | 27ms | dmd 2.111.0 |
d | 1.d | timeout | 0.0ms | 17.4MB | 4963ms | 23ms | ldc2 1.40.1 |
v | 1.v | timeout | 0.0ms | 18.1MB | 8343ms | 10870ms | v/clang 0.4.10 |
v | 1.v | timeout | 0.0ms | 18.9MB | 8547ms | 10677ms | v/clang+gc 0.4.10 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 1038ms | 5.4ms | 10.4MB | 1020ms | 13ms | ldc2 1.40.1 |
d | 1.d | 1380ms | 15ms | 12.5MB | 1357ms | 13ms | dmd 2.111.0 |
v | 1-m.v | 1401ms | 28ms | 9.8MB | 2270ms | 3003ms | v/clang 0.4.10 |
v | 1-m.v | 1467ms | 100ms | 10.4MB | 2407ms | 3117ms | v/clang+gc 0.4.10 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 389ms | 21ms | 3.0MB | 1423ms | 0ms | ldc2 1.40.1 |
d | 2-im.d | 1118ms | 4.1ms | 3.0MB | 4323ms | 0ms | ldc2 1.40.1 |
d | 1-i.d | 1486ms | 5.4ms | 2.9MB | 1473ms | 0ms | ldc2 1.40.1 |
v | 1.v | 2198ms | 7.2ms | 1.9MB | 2187ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 2294ms | 1.6ms | 1.1MB | 2283ms | 0ms | v/clang 0.4.10 |
d | 1.d | 3121ms | 27ms | 2.8MB | 3110ms | 0ms | ldc2 1.40.1 |
d | 2-i.d | 3238ms | 0.8ms | 2.9MB | 3230ms | 0ms | ldc2 1.40.1 |
d | 1.d | 3537ms | 4.6ms | 4.6MB | 3527ms | 0ms | dmd 2.111.0 |
d | 1-im.d | 4471ms | 28ms | 4.9MB | 17507ms | 0ms | dmd 2.111.0 |
d | 1-i.d | timeout | 0.0ms | 4.5MB | 4990ms | 0ms | dmd 2.111.0 |
d | 2-i.d | timeout | 0.0ms | 4.5MB | 4990ms | 0ms | dmd 2.111.0 |
d | 2-im.d | timeout | 0.0ms | 4.9MB | 19737ms | 13ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 37ms | 0.6ms | 3.0MB | 110ms | 0ms | ldc2 1.40.1 |
d | 2-im.d | 97ms | 1.6ms | 3.0MB | 347ms | 0ms | ldc2 1.40.1 |
d | 1-i.d | 123ms | 0.5ms | 2.9MB | 110ms | 0ms | ldc2 1.40.1 |
v | 1.v | 187ms | 1.9ms | 1.9MB | 180ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 194ms | 1.9ms | 1.1MB | 187ms | 0ms | v/clang 0.4.10 |
d | 1.d | 263ms | 1.6ms | 2.9MB | 250ms | 0ms | ldc2 1.40.1 |
d | 2-i.d | 268ms | 1.3ms | 2.9MB | 260ms | 0ms | ldc2 1.40.1 |
d | 1.d | 297ms | 1.3ms | 4.6MB | 290ms | 0ms | dmd 2.111.0 |
d | 1-im.d | 383ms | 15ms | 4.9MB | 1427ms | 0ms | dmd 2.111.0 |
d | 2-im.d | 520ms | 1.5ms | 4.9MB | 2007ms | 0ms | dmd 2.111.0 |
d | 1-i.d | 891ms | 4.6ms | 4.6MB | 883ms | 0ms | dmd 2.111.0 |
d | 2-i.d | 1382ms | 12ms | 4.5MB | 1373ms | 0ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 131ms | 1.4ms | 6.1MB | 120ms | 0ms | ldc2 1.40.1 |
d | 1.d | 187ms | 22ms | 7.9MB | 177ms | 0ms | dmd 2.111.0 |
v | 1.v | 243ms | 6.1ms | 1.3MB | 233ms | 0ms | v/clang 0.4.10 |
v | 1.v | 256ms | 1.5ms | 2.1MB | 250ms | 0ms | v/clang+gc 0.4.10 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 310ms | 1.3ms | 1.6MB | 300ms | 0ms | v/clang 0.4.10 |
v | 1.v | 311ms | 1.1ms | 2.3MB | 300ms | 0ms | v/clang+gc 0.4.10 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 33ms | 0.6ms | 1.6MB | 27ms | 0ms | v/clang 0.4.10 |
v | 1.v | 34ms | 0.5ms | 2.3MB | 30ms | 0ms | v/clang+gc 0.4.10 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 304ms | 5.3ms | 40.3MB | 283ms | 0ms | v/clang 0.4.10 |
v | 1.v | 320ms | 3.2ms | 41.2MB | 307ms | 0ms | v/clang+gc 0.4.10 |
d | 1.d | 322ms | 14ms | 43.5MB | 307ms | 3ms | ldc2 1.40.1 |
v | 2.v | 330ms | 2.8ms | 6.7MB | 320ms | 0ms | v/clang+gc 0.4.10 |
v | 2.v | 332ms | 2.3ms | 6.1MB | 320ms | 0ms | v/clang 0.4.10 |
d | 1.d | 352ms | 8.5ms | 79.3MB | 333ms | 7ms | dmd 2.111.0 |
d | 2.d | 841ms | 2.9ms | 47.5MB | 820ms | 7ms | ldc2 1.40.1 |
d | 2.d | 1167ms | 5.5ms | 51.5MB | 1150ms | 3ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 62ms | 3.3ms | 11.9MB | 53ms | 0ms | v/clang+gc 0.4.10 |
d | 1.d | 64ms | 3.8ms | 15.6MB | 57ms | 0ms | ldc2 1.40.1 |
v | 1.v | 65ms | 1.9ms | 11.0MB | 57ms | 0ms | v/clang 0.4.10 |
d | 1.d | 76ms | 3.3ms | 25.3MB | 67ms | 0ms | dmd 2.111.0 |
v | 2.v | 82ms | 1.2ms | 2.4MB | 73ms | 0ms | v/clang 0.4.10 |
v | 2.v | 82ms | 1.3ms | 3.1MB | 70ms | 0ms | v/clang+gc 0.4.10 |
d | 2.d | 209ms | 1.1ms | 17.8MB | 200ms | 0ms | ldc2 1.40.1 |
d | 2.d | 293ms | 1.8ms | 19.8MB | 280ms | 0ms | dmd 2.111.0 |
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 |
v | 1.v | timeout | 0.0ms | 1.6MB | 4990ms | 0ms | v/clang 0.4.10 |
v | 1.v | timeout | 0.0ms | 2.8MB | 4990ms | 0ms | v/clang+gc 0.4.10 |