Current benchmark data was generated on Sun Dec 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-im.d | 399ms | 45ms | 5.1MB | 1410ms | 0ms | ldc2 1.39.0 |
go | 3-m.go | 737ms | 23ms | 5.5MB | 2773ms | 7ms | go 1.23.3 |
d | 2-im.d | 1114ms | 10ms | 5.1MB | 4297ms | 0ms | ldc2 1.39.0 |
d | 1-i.d | 1488ms | 14ms | 2.9MB | 1480ms | 0ms | ldc2 1.39.0 |
go | 3.go | 2272ms | 8.6ms | 50.2MB | 2253ms | 0ms | tinygo 0.34.0 |
d | 1.d | 3139ms | 35ms | 2.9MB | 3130ms | 0ms | ldc2 1.39.0 |
d | 2-i.d | 3221ms | 2.5ms | 2.9MB | 3210ms | 0ms | ldc2 1.39.0 |
d | 1.d | 3537ms | 17ms | 4.6MB | 3523ms | 0ms | dmd 2.109.1 |
d | 1-im.d | 4241ms | 40ms | 8.9MB | 16490ms | 7ms | dmd 2.109.1 |
d | 1-i.d | timeout | 0.0ms | 4.5MB | 4987ms | 0ms | dmd 2.109.1 |
d | 2-i.d | timeout | 0.0ms | 4.6MB | 4990ms | 0ms | dmd 2.109.1 |
d | 2-im.d | timeout | 0.0ms | 6.8MB | 19780ms | 7ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 40ms | 1.9ms | 5.1MB | 110ms | 0ms | ldc2 1.39.0 |
go | 3-m.go | 75ms | 0.6ms | 5.5MB | 200ms | 3ms | go 1.23.3 |
d | 2-im.d | 110ms | 20ms | 6.9MB | 337ms | 3ms | ldc2 1.39.0 |
d | 1-i.d | 124ms | 0.4ms | 2.8MB | 110ms | 0ms | ldc2 1.39.0 |
d | 1.d | 263ms | 2.2ms | 2.8MB | 253ms | 0ms | ldc2 1.39.0 |
d | 2-i.d | 266ms | 0.8ms | 2.8MB | 260ms | 0ms | ldc2 1.39.0 |
d | 1.d | 296ms | 2.0ms | 4.5MB | 287ms | 0ms | dmd 2.109.1 |
d | 1-im.d | 359ms | 0.1ms | 8.9MB | 1343ms | 0ms | dmd 2.109.1 |
go | 3.go | 485ms | 0.5ms | 50.2MB | 470ms | 3ms | tinygo 0.34.0 |
d | 2-im.d | 545ms | 24ms | 6.8MB | 1990ms | 0ms | dmd 2.109.1 |
d | 1-i.d | 860ms | 8.9ms | 4.5MB | 850ms | 0ms | dmd 2.109.1 |
d | 2-i.d | 1389ms | 18ms | 4.5MB | 1377ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 125ms | 0.6ms | 5.8MB | 117ms | 3ms | ldc2 1.39.0 |
go | 3.go | 132ms | 1.8ms | 3.4MB | 123ms | 0ms | go 1.23.3 |
go | 3.go | 135ms | 3.9ms | 0.3MB | 127ms | 0ms | tinygo 0.34.0 |
d | 1.d | 181ms | 0.7ms | 7.8MB | 170ms | 3ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 945ms | 3.3ms | 312.5MB | 900ms | 43ms | ldc2 1.39.0 |
go | 1-m.go | 1640ms | 27ms | 40.9MB | 3297ms | 47ms | go 1.23.3 |
d | 1.d | 1727ms | 10ms | 314.5MB | 1840ms | 57ms | dmd 2.109.1 |
go | 2-m.go | 1886ms | 10ms | 43.0MB | 3980ms | 47ms | go 1.23.3 |
go | 1.go | 1934ms | 5.2ms | 52.1MB | 1923ms | 0ms | tinygo 0.34.0 |
go | 2.go | 3292ms | 35ms | 90.4MB | 3277ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 195ms | 0.7ms | 312.7MB | 153ms | 30ms | ldc2 1.39.0 |
d | 1.d | 338ms | 0.9ms | 314.8MB | 293ms | 33ms | dmd 2.109.1 |
go | 1-m.go | 365ms | 2.1ms | 14.1MB | 707ms | 20ms | go 1.23.3 |
go | 1.go | 383ms | 2.4ms | 13.4MB | 367ms | 0ms | tinygo 0.34.0 |
go | 2-m.go | 412ms | 1.3ms | 14.1MB | 833ms | 33ms | go 1.23.3 |
go | 2.go | 634ms | 12ms | 29.7MB | 623ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1.go | 344ms | 0.4ms | 0.1MB | 337ms | 0ms | tinygo 0.34.0 |
d | 2.d | 360ms | 1.4ms | 2.8MB | 347ms | 0ms | ldc2 1.39.0 |
d | 1.d | 360ms | 1.1ms | 2.9MB | 350ms | 0ms | ldc2 1.39.0 |
go | 1.go | 361ms | 1.5ms | 3.4MB | 347ms | 0ms | go 1.23.3 |
d | 1.d | 679ms | 3.1ms | 4.6MB | 667ms | 0ms | dmd 2.109.1 |
d | 2.d | 2034ms | 49ms | 4.6MB | 2023ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1.go | 38ms | 0.6ms | 0.1MB | 30ms | 0ms | tinygo 0.34.0 |
d | 1.d | 39ms | 0.2ms | 2.9MB | 30ms | 0ms | ldc2 1.39.0 |
d | 2.d | 39ms | 0.1ms | 2.8MB | 30ms | 0ms | ldc2 1.39.0 |
go | 1.go | 40ms | 1.0ms | 3.4MB | 30ms | 0ms | go 1.23.3 |
d | 1.d | 71ms | 0.3ms | 4.6MB | 60ms | 0ms | dmd 2.109.1 |
d | 2.d | 208ms | 1.2ms | 4.6MB | 200ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1.go | 312ms | 0.7ms | 73.6MB | 293ms | 3ms | go 1.23.3 |
d | 1.d | 315ms | 3.8ms | 77.2MB | 293ms | 0ms | dmd 2.109.1 |
go | 1.go | 318ms | 4.6ms | 42.9MB | 307ms | 0ms | tinygo 0.34.0 |
d | 1.d | 320ms | 5.7ms | 43.7MB | 293ms | 10ms | ldc2 1.39.0 |
go | 2.go | 432ms | 2.1ms | 18.0MB | 420ms | 0ms | tinygo 0.34.0 |
go | 2.go | 787ms | 2.3ms | 21.9MB | 780ms | 0ms | go 1.23.3 |
d | 2.d | 817ms | 3.4ms | 47.7MB | 800ms | 3ms | ldc2 1.39.0 |
d | 2.d | 1161ms | 3.7ms | 49.3MB | 1140ms | 3ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1.go | 57ms | 0.9ms | 13.7MB | 47ms | 0ms | tinygo 0.34.0 |
go | 1.go | 60ms | 4.2ms | 21.6MB | 50ms | 0ms | go 1.23.3 |
d | 1.d | 65ms | 1.0ms | 13.7MB | 53ms | 0ms | ldc2 1.39.0 |
d | 1.d | 67ms | 1.7ms | 24.0MB | 57ms | 0ms | dmd 2.109.1 |
go | 2.go | 117ms | 6.5ms | 5.9MB | 107ms | 0ms | tinygo 0.34.0 |
go | 2.go | 196ms | 2.3ms | 6.3MB | 183ms | 0ms | go 1.23.3 |
d | 2.d | 206ms | 0.2ms | 15.7MB | 193ms | 0ms | ldc2 1.39.0 |
d | 2.d | 291ms | 1.2ms | 17.6MB | 277ms | 3ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 3.d | 646ms | 60ms | 170.7MB | 847ms | 20ms | ldc2 1.39.0 |
d | 3.d | 1336ms | 1.5ms | 173.4MB | 1517ms | 23ms | dmd 2.109.1 |
go | 3.go | timeout | 0.0ms | 122.2MB | 4977ms | 47ms | go 1.23.3 |
go | 3.go | timeout | 0.0ms | 104.3MB | 4980ms | 3ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1907ms | 17ms | 5.4MB | 7330ms | 10ms | go 1.23.3 |
d | 1.d | 3581ms | 0.9ms | 4.0MB | 3570ms | 0ms | ldc2 1.39.0 |
d | 1.d | 3647ms | 53ms | 5.9MB | 3633ms | 0ms | dmd 2.109.1 |
go | 1.go | 3680ms | 35ms | 5.4MB | 3673ms | 0ms | go 1.23.3 |
go | 1.go | timeout | 0.0ms | 0.5MB | 4990ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 479ms | 0.2ms | 5.5MB | 1817ms | 3ms | go 1.23.3 |
d | 1.d | 897ms | 1.4ms | 3.6MB | 887ms | 0ms | ldc2 1.39.0 |
d | 1.d | 909ms | 3.9ms | 5.3MB | 897ms | 0ms | dmd 2.109.1 |
go | 1.go | 934ms | 5.6ms | 3.4MB | 927ms | 0ms | go 1.23.3 |
go | 1.go | 1390ms | 1.4ms | 0.4MB | 1380ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 126ms | 0.7ms | 5.4MB | 447ms | 0ms | go 1.23.3 |
d | 1.d | 227ms | 0.3ms | 3.3MB | 220ms | 0ms | ldc2 1.39.0 |
d | 1.d | 230ms | 0.5ms | 4.8MB | 220ms | 0ms | dmd 2.109.1 |
go | 1.go | 234ms | 4.3ms | 3.4MB | 223ms | 0ms | go 1.23.3 |
go | 1.go | 349ms | 0.1ms | 0.3MB | 340ms | 0ms | tinygo 0.34.0 |