Current benchmark data was generated on Sat Nov 16 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 | 1714ms | 10ms | 312.4MB | 1680ms | 40ms | ldc2 1.39.0 |
d | 1.d | 2690ms | 19ms | 314.8MB | 2890ms | 27ms | dmd 2.109.1 |
lua | 1.lua | 3463ms | 70ms | 172.8MB | 3323ms | 123ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 104.9MB | 4960ms | 27ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 979ms | 4.8ms | 312.5MB | 940ms | 40ms | ldc2 1.39.0 |
d | 1.d | 1748ms | 19ms | 314.9MB | 1883ms | 40ms | dmd 2.109.1 |
lua | 1.lua | timeout | 0.0ms | 107.4MB | 4953ms | 33ms | lua 5.4.7 |
lua | 1.lua | timeout | 0.0ms | 149.3MB | 4933ms | 47ms | luajit 2.1.0-beta3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 210ms | 2.2ms | 312.6MB | 163ms | 33ms | ldc2 1.39.0 |
d | 1.d | 343ms | 1.4ms | 314.5MB | 313ms | 23ms | dmd 2.109.1 |
lua | 1.lua | 1122ms | 32ms | 31.0MB | 1097ms | 10ms | luajit 2.1.0-beta3 |
lua | 1.lua | 2145ms | 2.0ms | 28.6MB | 2120ms | 10ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 2.d | 361ms | 0.5ms | 2.9MB | 350ms | 0ms | ldc2 1.39.0 |
d | 1.d | 361ms | 1.0ms | 2.9MB | 350ms | 0ms | ldc2 1.39.0 |
d | 1.d | 680ms | 2.2ms | 4.6MB | 670ms | 0ms | dmd 2.109.1 |
lua | 4.lua | 716ms | 7.4ms | 2.4MB | 707ms | 0ms | luajit 2.1.0-beta3 |
d | 2.d | 2009ms | 2.2ms | 4.6MB | 2000ms | 0ms | dmd 2.109.1 |
lua | 4.lua | timeout | 0.0ms | 2.3MB | 4990ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 39ms | 0.5ms | 2.9MB | 30ms | 0ms | ldc2 1.39.0 |
d | 2.d | 39ms | 0.7ms | 2.9MB | 30ms | 0ms | ldc2 1.39.0 |
d | 1.d | 71ms | 0.9ms | 4.8MB | 63ms | 0ms | dmd 2.109.1 |
lua | 4.lua | 76ms | 2.2ms | 2.4MB | 67ms | 0ms | luajit 2.1.0-beta3 |
d | 2.d | 203ms | 0.2ms | 4.6MB | 190ms | 0ms | dmd 2.109.1 |
lua | 4.lua | 1120ms | 22ms | 2.3MB | 1107ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 3584ms | 9.1ms | 4.1MB | 3570ms | 0ms | ldc2 1.39.0 |
d | 1.d | 3665ms | 31ms | 5.9MB | 3653ms | 0ms | dmd 2.109.1 |
lua | 1.lua | 4052ms | 6.0ms | 2.5MB | 4043ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.5MB | 4990ms | 0ms | lua 5.4.7 |