Current benchmark data was generated on Fri May 20 2022, 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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 176ms | 1.5ms | 1.8MB | 160ms | 0ms | odin 2022 |
d | 1.d | 180ms | 1.0ms | 4.2MB | 170ms | 0ms | ldc2 1.29.0 |
d | 1.d | 247ms | 0.6ms | 5.0MB | 237ms | 0ms | dmd 2.100.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 425ms | 0.5ms | 1.2MB | 413ms | 0ms | ldc2 1.29.0 |
d | 2.d | 435ms | 0.1ms | 1.2MB | 423ms | 0ms | ldc2 1.29.0 |
d | 1.d | 1534ms | 0.6ms | 2.0MB | 1520ms | 0ms | dmd 2.100.0 |
odin | 1.odin | 2543ms | 1.4ms | 0.8MB | 2530ms | 0ms | odin 2022 |
d | 2.d | 2691ms | 0.8ms | 1.9MB | 2680ms | 0ms | dmd 2.100.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 45ms | 0.3ms | 1.2MB | 37ms | 0ms | ldc2 1.29.0 |
d | 2.d | 47ms | 0.2ms | 1.2MB | 37ms | 0ms | ldc2 1.29.0 |
d | 1.d | 156ms | 0.1ms | 1.9MB | 150ms | 0ms | dmd 2.100.0 |
odin | 1.odin | 256ms | 0.3ms | 0.8MB | 250ms | 0ms | odin 2022 |
d | 2.d | 277ms | 3.8ms | 2.0MB | 267ms | 0ms | dmd 2.100.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 819ms | 17ms | 40.6MB | 797ms | 7ms | odin 2022 |
d | 2.d | 886ms | 2.5ms | 48.7MB | 857ms | 17ms | ldc2 1.29.0 |
d | 1.d | 971ms | 78ms | 43.4MB | 950ms | 10ms | ldc2 1.29.0 |
d | 1.d | 1078ms | 24ms | 75.3MB | 1053ms | 10ms | dmd 2.100.0 |
odin | 2.odin | 1251ms | 15ms | 6.4MB | 1240ms | 0ms | odin 2022 |
d | 2.d | 1640ms | 1.6ms | 49.8MB | 1623ms | 0ms | dmd 2.100.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 122ms | 0.2ms | 11.4MB | 110ms | 0ms | odin 2022 |
d | 1.d | 131ms | 2.2ms | 14.4MB | 117ms | 3ms | ldc2 1.29.0 |
d | 1.d | 139ms | 1.9ms | 22.9MB | 123ms | 0ms | dmd 2.100.0 |
d | 2.d | 213ms | 1.1ms | 15.5MB | 193ms | 0ms | ldc2 1.29.0 |
odin | 2.odin | 303ms | 3.5ms | 2.9MB | 293ms | 0ms | odin 2022 |
d | 2.d | 408ms | 0.8ms | 16.0MB | 393ms | 3ms | dmd 2.100.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
odin | 1.odin | 4493ms | 1.5ms | 2.9MB | 4480ms | 0ms | odin 2022 |
d | 1.d | 4667ms | 0.7ms | 3.8MB | 4660ms | 0ms | ldc2 1.29.0 |
d | 1.d | 4783ms | 1.0ms | 4.5MB | 4763ms | 0ms | dmd 2.100.0 |