Current benchmark data was generated on Sun Jun 01 2025, 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 | 360ms | 0.7ms | 2.9MB | 350ms | 0ms | ldc2 1.40.1 |
d | 2.d | 361ms | 1.1ms | 2.9MB | 350ms | 0ms | ldc2 1.40.1 |
d | 1.d | 678ms | 10ms | 4.8MB | 670ms | 0ms | dmd 2.111.0 |
codon | 1.py | 1352ms | 60ms | 9.1MB | 1657ms | 0ms | codon 0.18.2 |
d | 2.d | 2037ms | 13ms | 4.6MB | 2027ms | 0ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 39ms | 0.3ms | 2.9MB | 30ms | 0ms | ldc2 1.40.1 |
d | 2.d | 39ms | 0.4ms | 2.9MB | 30ms | 0ms | ldc2 1.40.1 |
d | 1.d | 71ms | 1.0ms | 4.8MB | 60ms | 0ms | dmd 2.111.0 |
codon | 1-m.py | 175ms | 4.2ms | 8.8MB | 487ms | 0ms | codon 0.18.2 |
d | 2.d | 210ms | 0.8ms | 4.6MB | 200ms | 0ms | dmd 2.111.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 322ms | 14ms | 43.5MB | 307ms | 3ms | ldc2 1.40.1 |
d | 1.d | 352ms | 8.5ms | 79.3MB | 333ms | 7ms | dmd 2.111.0 |
codon | 1-m.py | 444ms | 8.1ms | 67.3MB | 743ms | 7ms | codon 0.18.2 |
d | 2.d | 841ms | 2.9ms | 47.5MB | 820ms | 7ms | ldc2 1.40.1 |
d | 2.d | 1167ms | 5.5ms | 51.5MB | 1150ms | 3ms | dmd 2.111.0 |
codon | 2.py | 1520ms | 13ms | 100.8MB | 1830ms | 17ms | codon 0.18.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 64ms | 3.8ms | 15.6MB | 57ms | 0ms | ldc2 1.40.1 |
d | 1.d | 76ms | 3.3ms | 25.3MB | 67ms | 0ms | dmd 2.111.0 |
codon | 1-m.py | 128ms | 1.7ms | 18.5MB | 437ms | 0ms | codon 0.18.2 |
d | 2.d | 209ms | 1.1ms | 17.8MB | 200ms | 0ms | ldc2 1.40.1 |
d | 2.d | 293ms | 1.8ms | 19.8MB | 280ms | 0ms | dmd 2.111.0 |
codon | 2-m.py | 392ms | 4.2ms | 27.4MB | 703ms | 7ms | codon 0.18.2 |