Current benchmark data was generated on Thu Feb 01 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.d | timeout | 0.0ms | 16.5MB | 4960ms | 23ms | dmd 2.106.1 |
d | 1.d | timeout | 0.0ms | 15.5MB | 4967ms | 20ms | ldc2 1.36.0 |
nim | 1.nim | timeout | 0.0ms | 549.4MB | 2490ms | 2053ms | nim 2.0.2 |
nim | 1.nim | timeout | 0.0ms | 558.6MB | 2537ms | 1997ms | nim/clang 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 1000ms | 15ms | 8.4MB | 987ms | 3ms | ldc2 1.36.0 |
d | 1.d | 1350ms | 2.3ms | 10.5MB | 1327ms | 13ms | dmd 2.106.1 |
nim | 1.nim | 4326ms | 9.0ms | 519.8MB | 2247ms | 1653ms | nim/clang 2.0.2 |
nim | 1.nim | 4400ms | 29ms | 519.4MB | 2180ms | 1793ms | nim 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 188ms | 3.5ms | 1.5MB | 177ms | 0ms | nim 2.0.2 |
d | 1.d | 194ms | 1.3ms | 33.3MB | 177ms | 3ms | ldc2 1.36.0 |
nim | 2.nim | 239ms | 3.2ms | 1.8MB | 227ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 549ms | 1.1ms | 1.8MB | 447ms | 87ms | nim/clang 2.0.2 |
nim | 1.nim | 573ms | 0.7ms | 1.5MB | 463ms | 90ms | nim 2.0.2 |
d | 1.d | 612ms | 2.2ms | 38.6MB | 590ms | 7ms | dmd 2.106.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 20ms | 0.4ms | 1.5MB | 10ms | 0ms | nim 2.0.2 |
d | 1.d | 25ms | 1.1ms | 10.3MB | 20ms | 0ms | ldc2 1.36.0 |
nim | 2.nim | 26ms | 0.6ms | 1.6MB | 20ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 58ms | 0.6ms | 1.8MB | 43ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 61ms | 1.0ms | 1.5MB | 43ms | 7ms | nim 2.0.2 |
d | 1.d | 65ms | 0.2ms | 12.3MB | 57ms | 0ms | dmd 2.106.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 2-m.d | 3.4ms | 5.9ms | 18.5MB | 405ms | 710ms | ldc2 1.36.0 |
nim | 1.nim | 895ms | 13ms | 97.3MB | 283ms | 583ms | nim 2.0.2 |
nim | 1.nim | 909ms | 5.9ms | 98.3MB | 293ms | 583ms | nim/clang 2.0.2 |
d | 1.d | 1030ms | 1.0ms | 18.3MB | 393ms | 690ms | ldc2 1.36.0 |
d | 2.d | 1032ms | 3.0ms | 25.3MB | 553ms | 677ms | dmd 2.106.1 |
d | 1.d | 1036ms | 0.9ms | 22.0MB | 533ms | 700ms | dmd 2.106.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 147ms | 2.3ms | 18.0MB | 27ms | 100ms | nim 2.0.2 |
nim | 1.nim | 149ms | 1.0ms | 18.1MB | 43ms | 90ms | nim/clang 2.0.2 |
d | 1.d | 1009ms | 0.3ms | 22.3MB | 50ms | 140ms | ldc2 1.36.0 |
d | 1.d | 1012ms | 2.4ms | 25.3MB | 80ms | 133ms | dmd 2.106.1 |
d | 2.d | 1012ms | 2.6ms | 20.6MB | 63ms | 130ms | ldc2 1.36.0 |
d | 2.d | 1014ms | 3.0ms | 23.4MB | 77ms | 130ms | dmd 2.106.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 108ms | 1.5ms | 1.6MB | 100ms | 0ms | nim/clang 2.0.2 |
nim | 2.nim | 109ms | 2.7ms | 1.4MB | 97ms | 0ms | nim 2.0.2 |
d | 1.d | 130ms | 1.5ms | 5.8MB | 120ms | 3ms | ldc2 1.36.0 |
d | 1.d | 175ms | 2.6ms | 7.8MB | 160ms | 7ms | dmd 2.106.1 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.0.2 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 316ms | 0.4ms | 1.9MB | 307ms | 0ms | nim/clang 2.0.2 |
nim | 2.nim | 323ms | 4.4ms | 1.4MB | 313ms | 0ms | nim 2.0.2 |
d | 1.d | 373ms | 2.0ms | 4.1MB | 360ms | 13ms | ldc2 1.36.0 |
d | 1.d | 508ms | 1.6ms | 7.8MB | 497ms | 10ms | dmd 2.106.1 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.0.2 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 48ms | 0.6ms | 1.5MB | 40ms | 0ms | nim/clang 2.0.2 |
nim | 2.nim | 49ms | 0.7ms | 1.3MB | 40ms | 0ms | nim 2.0.2 |
d | 1.d | 57ms | 1.4ms | 5.8MB | 50ms | 0ms | ldc2 1.36.0 |
d | 1.d | 81ms | 0.6ms | 7.8MB | 77ms | 0ms | dmd 2.106.1 |
nim | 1.nim | 536ms | 10ms | 1.5MB | 523ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 536ms | 8.6ms | 1.3MB | 523ms | 0ms | nim 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 318ms | 1.0ms | 1.8MB | 310ms | 0ms | nim 2.0.2 |
nim | 2.nim | 343ms | 3.5ms | 2.0MB | 333ms | 0ms | nim/clang 2.0.2 |
d | 2.d | 359ms | 0.7ms | 2.9MB | 350ms | 0ms | ldc2 1.36.0 |
d | 1.d | 361ms | 0.8ms | 2.9MB | 350ms | 0ms | ldc2 1.36.0 |
d | 1.d | 673ms | 1.2ms | 4.4MB | 660ms | 0ms | dmd 2.106.1 |
d | 2.d | 2011ms | 6.9ms | 4.5MB | 2000ms | 0ms | dmd 2.106.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 34ms | 0.5ms | 1.8MB | 23ms | 0ms | nim 2.0.2 |
nim | 2.nim | 36ms | 0.1ms | 2.0MB | 30ms | 0ms | nim/clang 2.0.2 |
d | 1.d | 39ms | 0.6ms | 2.9MB | 30ms | 0ms | ldc2 1.36.0 |
d | 2.d | 39ms | 0.4ms | 2.9MB | 27ms | 0ms | ldc2 1.36.0 |
d | 1.d | 71ms | 1.0ms | 4.5MB | 60ms | 0ms | dmd 2.106.1 |
d | 2.d | 206ms | 3.5ms | 4.4MB | 193ms | 0ms | dmd 2.106.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 282ms | 2.6ms | 41.5MB | 270ms | 0ms | nim 2.0.2 |
d | 1.d | 315ms | 1.5ms | 43.8MB | 300ms | 3ms | ldc2 1.36.0 |
d | 1.d | 340ms | 4.4ms | 77.1MB | 320ms | 7ms | dmd 2.106.1 |
nim | 1.nim | 351ms | 9.9ms | 41.8MB | 337ms | 0ms | nim/clang 2.0.2 |
d | 2.d | 812ms | 0.6ms | 47.7MB | 787ms | 10ms | ldc2 1.36.0 |
d | 2.d | 1117ms | 1.8ms | 49.3MB | 1093ms | 7ms | dmd 2.106.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 56ms | 1.3ms | 11.5MB | 47ms | 0ms | nim 2.0.2 |
nim | 1.nim | 65ms | 1.0ms | 11.8MB | 53ms | 0ms | nim/clang 2.0.2 |
d | 1.d | 65ms | 0.3ms | 13.8MB | 53ms | 0ms | ldc2 1.36.0 |
d | 1.d | 73ms | 2.1ms | 23.8MB | 63ms | 0ms | dmd 2.106.1 |
d | 2.d | 202ms | 0.7ms | 15.7MB | 183ms | 3ms | ldc2 1.36.0 |
d | 2.d | 280ms | 1.1ms | 17.4MB | 267ms | 3ms | dmd 2.106.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 3.d | 601ms | 7.0ms | 172.0MB | 777ms | 20ms | ldc2 1.36.0 |
d | 3.d | 1276ms | 0.9ms | 174.9MB | 1450ms | 37ms | dmd 2.106.1 |
nim | 1.nim | 1623ms | 6.2ms | 152.4MB | 1583ms | 23ms | nim/clang 2.0.2 |
nim | 1.nim | 1647ms | 11ms | 151.5MB | 1617ms | 13ms | nim 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3574ms | 1.9ms | 1.6MB | 3567ms | 0ms | nim/clang 2.0.2 |
d | 1.d | 3582ms | 3.5ms | 3.9MB | 3567ms | 0ms | ldc2 1.36.0 |
nim | 1.nim | 3591ms | 12ms | 1.4MB | 3580ms | 0ms | nim 2.0.2 |
d | 1.d | 3609ms | 12ms | 5.8MB | 3600ms | 0ms | dmd 2.106.1 |