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 |
---|---|---|---|---|---|---|---|
d | 1.d | 180ms | 1.0ms | 4.2MB | 170ms | 0ms | ldc2 1.29.0 |
dart | 2.dart | 246ms | 0.1ms | 35.6MB | 227ms | 7ms | dart/exe 2.17.0 |
d | 1.d | 247ms | 0.6ms | 5.0MB | 237ms | 0ms | dmd 2.100.0 |
dart | 1.dart | 1459ms | 1.3ms | 44.4MB | 1437ms | 7ms | dart/exe 2.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 532ms | 5.1ms | 4.1MB | 527ms | 0ms | ldc2 1.29.0 |
dart | 2.dart | 705ms | 2.3ms | 42.9MB | 687ms | 10ms | dart/exe 2.17.0 |
d | 1.d | 731ms | 4.4ms | 4.9MB | 723ms | 0ms | dmd 2.100.0 |
dart | 1.dart | 4331ms | 1.5ms | 44.5MB | 4307ms | 10ms | dart/exe 2.17.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 78ms | 2.4ms | 3.8MB | 67ms | 0ms | ldc2 1.29.0 |
d | 1.d | 109ms | 1.2ms | 4.5MB | 100ms | 0ms | dmd 2.100.0 |
dart | 2.dart | 116ms | 3.4ms | 23.1MB | 100ms | 0ms | dart/exe 2.17.0 |
dart | 1.dart | 222ms | 0.9ms | 44.7MB | 200ms | 7ms | dart/exe 2.17.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 |
dart | 3.dart | 517ms | 1.4ms | 13.8MB | 503ms | 0ms | dart/exe 2.17.0 |
d | 1.d | 1534ms | 0.6ms | 2.0MB | 1520ms | 0ms | dmd 2.100.0 |
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 |
dart | 3.dart | 60ms | 0.8ms | 11.9MB | 43ms | 0ms | dart/exe 2.17.0 |
d | 1.d | 156ms | 0.1ms | 1.9MB | 150ms | 0ms | dmd 2.100.0 |
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 |
---|---|---|---|---|---|---|---|
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 |
dart | 1.dart | timeout | 0.0ms | 0.0MB | 0ms | 0ms | dart/exe 2.17.0 |