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 |
---|---|---|---|---|---|---|---|
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 |
lua | 1.lua | 3311ms | 71ms | 172.9MB | 3173ms | 127ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 104.9MB | 4940ms | 47ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
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 |
lua | 1.lua | timeout | 0.0ms | 107.3MB | 4950ms | 37ms | lua 5.4.7 |
lua | 1.lua | timeout | 0.0ms | 149.3MB | 4937ms | 47ms | luajit 2.1.0-beta3 |
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 |
d | 1.d | 642ms | 10ms | 4.6MB | 630ms | 0ms | dmd 2.109.1 |
lua | 4.lua | 677ms | 3.8ms | 2.3MB | 670ms | 0ms | luajit 2.1.0-beta3 |
d | 2.d | 1931ms | 36ms | 4.6MB | 1923ms | 0ms | dmd 2.109.1 |
lua | 4.lua | timeout | 0.0ms | 2.3MB | 4987ms | 0ms | lua 5.4.7 |
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 |
lua | 4.lua | 72ms | 3.0ms | 2.3MB | 60ms | 0ms | luajit 2.1.0-beta3 |
d | 2.d | 198ms | 2.4ms | 4.8MB | 190ms | 0ms | dmd 2.109.1 |
lua | 4.lua | 1042ms | 22ms | 2.3MB | 1033ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
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 |
lua | 1.lua | 3844ms | 19ms | 2.5MB | 3830ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | lua 5.4.7 |