Current benchmark data was generated on Tue Mar 25 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 | 826ms | 7.1ms | 22.1MB | 813ms | 0ms | v/clang+gc 0.4.10 |
d | 1.d | 1796ms | 1.6ms | 312.6MB | 1770ms | 33ms | ldc2 1.40.1 |
v | 1.v | 2249ms | 23ms | 2086.6MB | 1327ms | 910ms | v/clang 0.4.10 |
d | 1.d | 2825ms | 142ms | 314.8MB | 3023ms | 47ms | dmd 2.110.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | timeout | 0.0ms | 17.7MB | 4967ms | 23ms | dmd 2.110.0 |
d | 1.d | timeout | 0.0ms | 16.5MB | 4963ms | 20ms | ldc2 1.40.1 |
v | 1.v | timeout | 0.0ms | 17.9MB | 8577ms | 10773ms | v/clang 0.4.10 |
v | 1.v | timeout | 0.0ms | 18.4MB | 8913ms | 10293ms | v/clang+gc 0.4.10 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 1032ms | 16ms | 12.2MB | 1010ms | 7ms | ldc2 1.40.1 |
d | 1.d | 1329ms | 7.9ms | 14.5MB | 1303ms | 13ms | dmd 2.110.0 |
v | 1-m.v | 1347ms | 37ms | 9.6MB | 2260ms | 2830ms | v/clang 0.4.10 |
v | 1-m.v | 1382ms | 26ms | 10.4MB | 2263ms | 2907ms | v/clang+gc 0.4.10 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 374ms | 3.2ms | 2.9MB | 1423ms | 0ms | ldc2 1.40.1 |
d | 2-im.d | 1118ms | 5.5ms | 3.1MB | 4320ms | 0ms | ldc2 1.40.1 |
d | 1-i.d | 1486ms | 1.8ms | 2.9MB | 1480ms | 0ms | ldc2 1.40.1 |
v | 1.v | 2201ms | 3.6ms | 1.9MB | 2193ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 2314ms | 95ms | 1.1MB | 2303ms | 0ms | v/clang 0.4.10 |
d | 1.d | 3116ms | 13ms | 2.9MB | 3107ms | 0ms | ldc2 1.40.1 |
d | 2-i.d | 3239ms | 1.2ms | 2.9MB | 3230ms | 0ms | ldc2 1.40.1 |
d | 1.d | 3554ms | 9.4ms | 4.6MB | 3543ms | 0ms | dmd 2.110.0 |
d | 1-im.d | 4461ms | 10ms | 4.8MB | 17470ms | 7ms | dmd 2.110.0 |
d | 1-i.d | timeout | 0.0ms | 4.5MB | 4990ms | 0ms | dmd 2.110.0 |
d | 2-i.d | timeout | 0.0ms | 4.6MB | 4990ms | 0ms | dmd 2.110.0 |
d | 2-im.d | timeout | 0.0ms | 4.9MB | 19733ms | 3ms | dmd 2.110.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 37ms | 0.1ms | 3.0MB | 110ms | 0ms | ldc2 1.40.1 |
d | 2-im.d | 98ms | 2.1ms | 3.1MB | 350ms | 0ms | ldc2 1.40.1 |
d | 1-i.d | 126ms | 2.3ms | 2.9MB | 120ms | 0ms | ldc2 1.40.1 |
v | 1.v | 188ms | 1.5ms | 1.9MB | 180ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 193ms | 2.3ms | 1.1MB | 180ms | 0ms | v/clang 0.4.10 |
d | 1.d | 265ms | 2.7ms | 2.9MB | 257ms | 0ms | ldc2 1.40.1 |
d | 2-i.d | 268ms | 0.7ms | 2.9MB | 260ms | 0ms | ldc2 1.40.1 |
d | 1.d | 297ms | 1.1ms | 4.6MB | 290ms | 0ms | dmd 2.110.0 |
d | 1-im.d | 376ms | 5.0ms | 4.9MB | 1430ms | 0ms | dmd 2.110.0 |
d | 2-im.d | 526ms | 1.6ms | 4.9MB | 2010ms | 0ms | dmd 2.110.0 |
d | 1-i.d | 857ms | 5.5ms | 4.5MB | 847ms | 0ms | dmd 2.110.0 |
d | 2-i.d | 1387ms | 14ms | 4.6MB | 1377ms | 0ms | dmd 2.110.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 132ms | 0.5ms | 5.9MB | 123ms | 0ms | ldc2 1.40.1 |
d | 1.d | 177ms | 2.7ms | 7.9MB | 163ms | 7ms | dmd 2.110.0 |
v | 1.v | 249ms | 3.9ms | 1.3MB | 240ms | 0ms | v/clang 0.4.10 |
v | 1.v | 262ms | 3.5ms | 2.1MB | 253ms | 0ms | v/clang+gc 0.4.10 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 312ms | 1.6ms | 1.6MB | 303ms | 0ms | v/clang 0.4.10 |
v | 1.v | 313ms | 2.4ms | 2.3MB | 303ms | 0ms | v/clang+gc 0.4.10 |
d | 1.d | 362ms | 1.8ms | 2.9MB | 350ms | 0ms | ldc2 1.40.1 |
d | 2.d | 362ms | 0.4ms | 2.9MB | 350ms | 0ms | ldc2 1.40.1 |
d | 1.d | 682ms | 4.0ms | 4.6MB | 673ms | 0ms | dmd 2.110.0 |
d | 2.d | 2040ms | 13ms | 4.6MB | 2033ms | 0ms | dmd 2.110.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 34ms | 0.4ms | 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 | 2.d | 39ms | 0.1ms | 2.9MB | 30ms | 0ms | ldc2 1.40.1 |
d | 1.d | 39ms | 0.4ms | 2.9MB | 30ms | 0ms | ldc2 1.40.1 |
d | 1.d | 71ms | 0.3ms | 4.6MB | 60ms | 0ms | dmd 2.110.0 |
d | 2.d | 210ms | 3.6ms | 4.5MB | 203ms | 0ms | dmd 2.110.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 330ms | 2.6ms | 43.1MB | 317ms | 3ms | ldc2 1.40.1 |
v | 1.v | 332ms | 8.5ms | 41.1MB | 317ms | 0ms | v/clang+gc 0.4.10 |
v | 2.v | 334ms | 2.0ms | 6.9MB | 323ms | 0ms | v/clang+gc 0.4.10 |
v | 2.v | 334ms | 5.6ms | 6.1MB | 323ms | 0ms | v/clang 0.4.10 |
d | 1.d | 369ms | 6.5ms | 77.3MB | 353ms | 7ms | dmd 2.110.0 |
v | 1.v | 400ms | 3.8ms | 40.2MB | 380ms | 0ms | v/clang 0.4.10 |
d | 2.d | 843ms | 1.5ms | 46.9MB | 823ms | 0ms | ldc2 1.40.1 |
d | 2.d | 1168ms | 2.1ms | 48.7MB | 1150ms | 10ms | dmd 2.110.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 63ms | 4.4ms | 11.0MB | 53ms | 0ms | v/clang 0.4.10 |
d | 1.d | 64ms | 1.5ms | 15.0MB | 57ms | 0ms | ldc2 1.40.1 |
v | 1.v | 67ms | 1.4ms | 11.7MB | 60ms | 0ms | v/clang+gc 0.4.10 |
d | 1.d | 77ms | 3.4ms | 27.2MB | 67ms | 0ms | dmd 2.110.0 |
v | 2.v | 82ms | 0.6ms | 2.4MB | 70ms | 0ms | v/clang 0.4.10 |
v | 2.v | 83ms | 1.3ms | 3.1MB | 73ms | 0ms | v/clang+gc 0.4.10 |
d | 2.d | 209ms | 2.5ms | 17.1MB | 200ms | 0ms | ldc2 1.40.1 |
d | 2.d | 294ms | 1.0ms | 18.9MB | 280ms | 0ms | dmd 2.110.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 3600ms | 4.4ms | 3.9MB | 3587ms | 0ms | ldc2 1.40.1 |
d | 1.d | 3654ms | 31ms | 5.9MB | 3643ms | 0ms | dmd 2.110.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 |