Current benchmark data was generated on Tue Dec 31 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 |
---|---|---|---|---|---|---|---|
javascript | 1-m.js | 867ms | 11ms | 178.1MB | 1290ms | 257ms | bun 1.1.42 |
javascript | 1-m.js | 1182ms | 24ms | 293.5MB | 2050ms | 133ms | node 23.5.0 |
d | 1.d | 1655ms | 6.5ms | 312.8MB | 1623ms | 40ms | ldc2 1.40.0 |
d | 1.d | 2539ms | 16ms | 314.8MB | 2723ms | 37ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 91ms | 0.7ms | 78.5MB | 70ms | 23ms | bun 1.1.42 |
javascript | 1.js | 117ms | 2.5ms | 82.6MB | 117ms | 23ms | node 23.5.0 |
d | 1.d | 153ms | 3.5ms | 208.1MB | 123ms | 13ms | ldc2 1.40.0 |
d | 1.d | 218ms | 2.9ms | 209.9MB | 190ms | 13ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 1518ms | 12ms | 94.5MB | 1590ms | 53ms | node 23.5.0 |
javascript | 1.js | 2118ms | 133ms | 100.0MB | 2147ms | 50ms | bun 1.1.42 |
d | 1.d | timeout | 0.0ms | 16.5MB | 4973ms | 17ms | dmd 2.109.1 |
d | 1.d | timeout | 0.0ms | 15.6MB | 4960ms | 23ms | ldc2 1.40.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 147ms | 3.0ms | 76.6MB | 137ms | 17ms | node 23.5.0 |
javascript | 1.js | 171ms | 7.3ms | 85.4MB | 197ms | 23ms | bun 1.1.42 |
d | 1.d | 957ms | 7.3ms | 10.2MB | 940ms | 3ms | ldc2 1.40.0 |
d | 1.d | 1242ms | 5.8ms | 10.6MB | 1223ms | 3ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 259ms | 3.7ms | 68.1MB | 267ms | 27ms | node 23.5.0 |
javascript | 1.js | 677ms | 2.7ms | 76.5MB | 643ms | 23ms | bun 1.1.42 |
d | 1.d | 2428ms | 28ms | 8.1MB | 2410ms | 7ms | ldc2 1.40.0 |
d | 1.d | 2770ms | 13ms | 10.2MB | 2760ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 119ms | 2.5ms | 65.5MB | 133ms | 17ms | node 23.5.0 |
d | 1.d | 432ms | 6.9ms | 8.1MB | 420ms | 0ms | ldc2 1.40.0 |
javascript | 1.js | 494ms | 1.9ms | 66.4MB | 473ms | 17ms | bun 1.1.42 |
d | 1.d | 501ms | 0.5ms | 10.2MB | 493ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 1.7ms | 0.1ms | 2.9MB | 0ms | 0ms | ldc2 1.40.0 |
d | 1.d | 2.2ms | 0.1ms | 5.0MB | 0ms | 0ms | dmd 2.109.1 |
javascript | 1.js | 12ms | 0.4ms | 32.1MB | 10ms | 0ms | bun 1.1.42 |
javascript | 1.js | 29ms | 1.3ms | 51.9MB | 14ms | 4ms | node 23.5.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.bun.js | 340ms | 18ms | 72.6MB | 90ms | 403ms | bun 1.1.42 |
javascript | 1.js | 2928ms | 179ms | 188.7MB | 2733ms | 1360ms | node 23.5.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.bun.js | 148ms | 13ms | 53.6MB | 40ms | 93ms | bun 1.1.42 |
javascript | 1.js | 357ms | 7.6ms | 84.6MB | 350ms | 80ms | node 23.5.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 2.d | 54ms | 0.8ms | 15.7MB | 47ms | 13ms | ldc2 1.40.0 |
javascript | 1.js | 80ms | 3.6ms | 65.6MB | 50ms | 13ms | bun 1.1.42 |
javascript | 1.js | 104ms | 1.8ms | 79.1MB | 97ms | 10ms | node 23.5.0 |
d | 2.d | 236ms | 19ms | 22.9MB | 233ms | 40ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 367ms | 2.6ms | 207.0MB | 337ms | 73ms | bun 1.1.42 |
d | 2.d | 431ms | 7.9ms | 141.3MB | 410ms | 20ms | ldc2 1.40.0 |
javascript | 1.js | 657ms | 4.1ms | 204.7MB | 763ms | 73ms | node 23.5.0 |
d | 2.d | 2375ms | 18ms | 157.8MB | 2370ms | 50ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 115ms | 1.1ms | 5.9MB | 100ms | 10ms | ldc2 1.40.0 |
d | 1.d | 169ms | 2.3ms | 8.1MB | 160ms | 0ms | dmd 2.109.1 |
javascript | 2.js | 293ms | 0.8ms | 66.6MB | 287ms | 7ms | node 23.5.0 |
javascript | 1.js | 525ms | 5.8ms | 64.9MB | 510ms | 7ms | node 23.5.0 |
javascript | 2.js | 601ms | 2.1ms | 122.1MB | 653ms | 43ms | bun 1.1.42 |
javascript | 1.js | 777ms | 12ms | 106.0MB | 837ms | 80ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 348ms | 14ms | 6.1MB | 330ms | 43ms | ldc2 1.40.0 |
d | 1.d | 505ms | 9.6ms | 7.8MB | 487ms | 20ms | dmd 2.109.1 |
javascript | 2.js | 794ms | 4.4ms | 72.4MB | 787ms | 10ms | node 23.5.0 |
javascript | 1.js | 1492ms | 4.6ms | 71.9MB | 1477ms | 10ms | node 23.5.0 |
javascript | 2.js | 1695ms | 15ms | 122.4MB | 1797ms | 83ms | bun 1.1.42 |
javascript | 1.js | 2217ms | 20ms | 109.6MB | 2460ms | 150ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 50ms | 1.2ms | 4.0MB | 43ms | 0ms | ldc2 1.40.0 |
d | 1.d | 78ms | 2.3ms | 8.1MB | 67ms | 3ms | dmd 2.109.1 |
javascript | 1.js | 150ms | 0.6ms | 62.0MB | 137ms | 3ms | node 23.5.0 |
javascript | 2.js | 156ms | 3.5ms | 60.9MB | 150ms | 7ms | node 23.5.0 |
javascript | 1.js | 298ms | 3.3ms | 113.8MB | 330ms | 67ms | bun 1.1.42 |
javascript | 2.js | 327ms | 2.1ms | 125.6MB | 343ms | 50ms | bun 1.1.42 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1-m.js | 466ms | 12ms | 137.7MB | 597ms | 133ms | bun 1.1.42 |
javascript | 1.js | 493ms | 0.8ms | 134.3MB | 557ms | 70ms | node 23.5.0 |
d | 1.d | 894ms | 6.6ms | 312.8MB | 857ms | 37ms | ldc2 1.40.0 |
d | 1.d | 1665ms | 7.6ms | 314.0MB | 1790ms | 33ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 113ms | 1.9ms | 85.8MB | 90ms | 37ms | bun 1.1.42 |
javascript | 1.js | 147ms | 2.9ms | 102.3MB | 150ms | 27ms | node 23.5.0 |
d | 1.d | 190ms | 2.1ms | 312.6MB | 150ms | 20ms | ldc2 1.40.0 |
d | 1.d | 321ms | 4.2ms | 314.7MB | 283ms | 33ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 340ms | 2.8ms | 2.9MB | 327ms | 0ms | ldc2 1.40.0 |
d | 2.d | 342ms | 3.2ms | 2.9MB | 330ms | 0ms | ldc2 1.40.0 |
javascript | 6.js | 442ms | 11ms | 59.8MB | 427ms | 7ms | node 23.5.0 |
javascript | 6.js | 628ms | 10ms | 44.6MB | 627ms | 3ms | bun 1.1.42 |
d | 1.d | 642ms | 10ms | 4.6MB | 630ms | 0ms | dmd 2.109.1 |
d | 2.d | 1931ms | 36ms | 4.6MB | 1923ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 37ms | 0.2ms | 2.9MB | 30ms | 0ms | ldc2 1.40.0 |
d | 2.d | 37ms | 0.2ms | 2.9MB | 30ms | 0ms | ldc2 1.40.0 |
d | 1.d | 67ms | 2.1ms | 4.8MB | 60ms | 0ms | dmd 2.109.1 |
javascript | 6.js | 72ms | 1.0ms | 59.9MB | 57ms | 3ms | node 23.5.0 |
javascript | 6.js | 82ms | 1.6ms | 44.8MB | 83ms | 3ms | bun 1.1.42 |
d | 2.d | 198ms | 2.4ms | 4.8MB | 190ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 2386ms | 6.1ms | 64.1MB | 2393ms | 10ms | node 23.5.0 |
javascript | 1.js | 2609ms | 9.9ms | 82.9MB | 2640ms | 33ms | bun 1.1.42 |
d | 1.d | 4529ms | 4.4ms | 4.0MB | 4503ms | 303ms | ldc2 1.40.0 |
d | 1.d | timeout | 0.0ms | 6.6MB | 4983ms | 247ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 1.js | 628ms | 11ms | 61.7MB | 623ms | 17ms | node 23.5.0 |
javascript | 1.js | 681ms | 5.8ms | 82.5MB | 680ms | 27ms | bun 1.1.42 |
d | 1.d | 1140ms | 11ms | 4.0MB | 1110ms | 90ms | ldc2 1.40.0 |
d | 1.d | 1900ms | 9.8ms | 6.6MB | 1893ms | 83ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
javascript | 6-m.js | 2043ms | 5.4ms | 114.5MB | 7827ms | 53ms | node 23.5.0 |
d | 1.d | 3388ms | 14ms | 4.0MB | 3377ms | 0ms | ldc2 1.40.0 |
d | 1.d | 3420ms | 19ms | 5.8MB | 3410ms | 0ms | dmd 2.109.1 |