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 |
---|---|---|---|---|---|---|---|
v | 1.v | 776ms | 13ms | 28.8MB | 763ms | 0ms | v/clang+gc 0.4.10 |
d | 1.d | 1781ms | 9.7ms | 312.7MB | 1753ms | 37ms | ldc2 1.40.1 |
v | 1.v | 2181ms | 25ms | 2086.6MB | 1293ms | 870ms | v/clang 0.4.10 |
d | 1.d | 3029ms | 5.2ms | 314.9MB | 3207ms | 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 | 17.8MB | 4970ms | 20ms | dmd 2.111.0 |
d | 1.d | timeout | 0.0ms | 16.5MB | 4967ms | 13ms | ldc2 1.40.1 |
v | 1.v | timeout | 0.0ms | 18.1MB | 8697ms | 10607ms | v/clang 0.4.10 |
v | 1.v | timeout | 0.0ms | 18.0MB | 8987ms | 10223ms | v/clang+gc 0.4.10 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 1031ms | 1.4ms | 12.2MB | 1010ms | 10ms | ldc2 1.40.1 |
d | 1.d | 1364ms | 12ms | 12.1MB | 1343ms | 10ms | dmd 2.111.0 |
v | 1-m.v | 1392ms | 49ms | 9.6MB | 2267ms | 2953ms | v/clang 0.4.10 |
v | 1-m.v | 1502ms | 58ms | 10.3MB | 2597ms | 3033ms | v/clang+gc 0.4.10 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 375ms | 7.3ms | 3.0MB | 1420ms | 0ms | ldc2 1.40.1 |
d | 2-im.d | 1128ms | 21ms | 2.9MB | 4313ms | 0ms | ldc2 1.40.1 |
d | 1-i.d | 1484ms | 0.3ms | 2.8MB | 1470ms | 0ms | ldc2 1.40.1 |
v | 1.v | 2235ms | 1.8ms | 1.9MB | 2223ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 2259ms | 4.6ms | 1.1MB | 2253ms | 0ms | v/clang 0.4.10 |
d | 1.d | 3120ms | 15ms | 2.9MB | 3110ms | 0ms | ldc2 1.40.1 |
d | 2-i.d | 3240ms | 3.2ms | 2.9MB | 3230ms | 0ms | ldc2 1.40.1 |
d | 1.d | 3532ms | 4.1ms | 4.6MB | 3523ms | 0ms | dmd 2.111.0 |
d | 1-im.d | 4474ms | 19ms | 4.9MB | 17573ms | 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.5MB | 4990ms | 0ms | dmd 2.111.0 |
d | 2-im.d | timeout | 0.0ms | 4.9MB | 19740ms | 3ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 38ms | 0.5ms | 3.0MB | 110ms | 0ms | ldc2 1.40.1 |
d | 2-im.d | 99ms | 2.1ms | 2.9MB | 350ms | 0ms | ldc2 1.40.1 |
d | 1-i.d | 124ms | 0.3ms | 2.9MB | 117ms | 0ms | ldc2 1.40.1 |
v | 1.v | 190ms | 2.6ms | 1.9MB | 180ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 193ms | 1.3ms | 1.1MB | 180ms | 0ms | v/clang 0.4.10 |
d | 1.d | 262ms | 1.9ms | 2.9MB | 253ms | 0ms | ldc2 1.40.1 |
d | 2-i.d | 268ms | 0.7ms | 2.9MB | 260ms | 0ms | ldc2 1.40.1 |
d | 1.d | 295ms | 1.1ms | 4.6MB | 287ms | 0ms | dmd 2.111.0 |
d | 1-im.d | 375ms | 3.7ms | 4.8MB | 1433ms | 0ms | dmd 2.111.0 |
d | 2-im.d | 528ms | 7.3ms | 4.9MB | 2010ms | 0ms | dmd 2.111.0 |
d | 1-i.d | 893ms | 3.1ms | 4.5MB | 883ms | 0ms | dmd 2.111.0 |
d | 2-i.d | 1384ms | 18ms | 4.6MB | 1373ms | 0ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 130ms | 0.8ms | 5.9MB | 120ms | 0ms | ldc2 1.40.1 |
d | 1.d | 174ms | 1.5ms | 7.9MB | 163ms | 0ms | dmd 2.111.0 |
v | 1.v | 254ms | 2.2ms | 1.3MB | 243ms | 0ms | v/clang 0.4.10 |
v | 1.v | 264ms | 9.7ms | 2.1MB | 257ms | 0ms | v/clang+gc 0.4.10 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 311ms | 1.3ms | 1.6MB | 300ms | 0ms | v/clang 0.4.10 |
v | 1.v | 313ms | 1.2ms | 2.3MB | 300ms | 0ms | v/clang+gc 0.4.10 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 33ms | 0.5ms | 1.6MB | 30ms | 0ms | v/clang 0.4.10 |
v | 1.v | 34ms | 0.4ms | 2.3MB | 30ms | 0ms | v/clang+gc 0.4.10 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 301ms | 2.5ms | 40.2MB | 287ms | 0ms | v/clang 0.4.10 |
v | 1.v | 307ms | 2.3ms | 41.1MB | 297ms | 0ms | v/clang+gc 0.4.10 |
v | 2.v | 331ms | 2.0ms | 6.9MB | 320ms | 0ms | v/clang+gc 0.4.10 |
v | 2.v | 332ms | 2.6ms | 6.1MB | 320ms | 0ms | v/clang 0.4.10 |
d | 1.d | 349ms | 1.2ms | 77.3MB | 337ms | 0ms | dmd 2.111.0 |
d | 1.d | 353ms | 6.9ms | 42.9MB | 337ms | 3ms | ldc2 1.40.1 |
d | 2.d | 844ms | 2.0ms | 49.1MB | 827ms | 3ms | ldc2 1.40.1 |
d | 2.d | 1166ms | 3.1ms | 51.0MB | 1150ms | 3ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 59ms | 3.2ms | 11.7MB | 50ms | 0ms | v/clang+gc 0.4.10 |
v | 1.v | 59ms | 1.2ms | 11.0MB | 50ms | 0ms | v/clang 0.4.10 |
d | 1.d | 61ms | 0.8ms | 15.0MB | 50ms | 0ms | ldc2 1.40.1 |
d | 1.d | 74ms | 1.5ms | 27.2MB | 63ms | 0ms | dmd 2.111.0 |
v | 2.v | 82ms | 1.6ms | 3.1MB | 73ms | 0ms | v/clang+gc 0.4.10 |
v | 2.v | 83ms | 1.8ms | 2.4MB | 73ms | 0ms | v/clang 0.4.10 |
d | 2.d | 208ms | 1.8ms | 14.9MB | 197ms | 0ms | ldc2 1.40.1 |
d | 2.d | 292ms | 0.6ms | 18.9MB | 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.3ms | 3.9MB | 3583ms | 0ms | ldc2 1.40.1 |
d | 1.d | 3641ms | 25ms | 6.0MB | 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 |