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 |
---|---|---|---|---|---|---|---|
wasm | 5.rs | 1607ms | 21ms | 37.2MB | 1587ms | 7ms | wasmtime 28.0.0 |
d | 1.d | 1655ms | 6.5ms | 312.8MB | 1623ms | 40ms | ldc2 1.40.0 |
wasm | 4.rs | 1657ms | 9.1ms | 34.9MB | 1637ms | 7ms | wasmtime 28.0.0 |
wasm | 3.rs | 1679ms | 45ms | 50.9MB | 1657ms | 10ms | wasmtime 28.0.0 |
d | 1.d | 2539ms | 16ms | 314.8MB | 2723ms | 37ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 153ms | 3.5ms | 208.1MB | 123ms | 13ms | ldc2 1.40.0 |
wasm | 5.rs | 157ms | 4.7ms | 25.2MB | 147ms | 0ms | wasmtime 28.0.0 |
wasm | 3.rs | 166ms | 8.6ms | 23.2MB | 150ms | 3ms | wasmtime 28.0.0 |
wasm | 4.rs | 206ms | 53ms | 23.0MB | 190ms | 0ms | wasmtime 28.0.0 |
d | 1.d | 218ms | 2.9ms | 209.9MB | 190ms | 13ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 366ms | 4.6ms | 6.9MB | 1363ms | 3ms | ldc2 1.40.0 |
d | 2-im.d | 1052ms | 12ms | 6.9MB | 4073ms | 0ms | ldc2 1.40.0 |
d | 1-i.d | 1410ms | 2.6ms | 2.9MB | 1400ms | 0ms | ldc2 1.40.0 |
d | 1.d | 2946ms | 29ms | 2.9MB | 2937ms | 0ms | ldc2 1.40.0 |
d | 2-i.d | 3069ms | 14ms | 2.9MB | 3057ms | 0ms | ldc2 1.40.0 |
d | 1.d | 3337ms | 28ms | 4.5MB | 3330ms | 0ms | dmd 2.109.1 |
d | 1-im.d | 4021ms | 10ms | 6.9MB | 15707ms | 7ms | dmd 2.109.1 |
wasm | 1.rs | 4048ms | 73ms | 20.5MB | 4037ms | 0ms | wasmtime 28.0.0 |
d | 1-i.d | timeout | 0.0ms | 4.5MB | 4990ms | 0ms | dmd 2.109.1 |
d | 2-i.d | timeout | 0.0ms | 4.6MB | 4990ms | 0ms | dmd 2.109.1 |
d | 2-im.d | timeout | 0.0ms | 8.8MB | 19697ms | 7ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1-im.d | 39ms | 2.2ms | 5.1MB | 110ms | 0ms | ldc2 1.40.0 |
d | 2-im.d | 96ms | 2.8ms | 4.9MB | 330ms | 0ms | ldc2 1.40.0 |
d | 1-i.d | 118ms | 3.0ms | 2.8MB | 110ms | 0ms | ldc2 1.40.0 |
d | 1.d | 248ms | 2.3ms | 2.8MB | 237ms | 0ms | ldc2 1.40.0 |
d | 2-i.d | 257ms | 5.1ms | 2.9MB | 247ms | 0ms | ldc2 1.40.0 |
d | 1.d | 280ms | 4.8ms | 4.5MB | 273ms | 0ms | dmd 2.109.1 |
wasm | 1.rs | 336ms | 2.6ms | 19.2MB | 320ms | 0ms | wasmtime 28.0.0 |
d | 1-im.d | 336ms | 2.0ms | 6.9MB | 1270ms | 0ms | dmd 2.109.1 |
d | 2-im.d | 502ms | 2.9ms | 6.9MB | 1903ms | 0ms | dmd 2.109.1 |
d | 1-i.d | 823ms | 13ms | 4.5MB | 813ms | 0ms | dmd 2.109.1 |
d | 2-i.d | 1343ms | 11ms | 4.5MB | 1333ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 81ms | 1.3ms | 19.2MB | 70ms | 0ms | wasmtime 28.0.0 |
d | 1.d | 115ms | 1.1ms | 5.9MB | 100ms | 10ms | ldc2 1.40.0 |
d | 1.d | 169ms | 2.3ms | 8.1MB | 160ms | 0ms | dmd 2.109.1 |
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 |
wasm | 1.rs | 376ms | 1.9ms | 18.8MB | 363ms | 0ms | wasmtime 28.0.0 |
wasm | 2.rs | 550ms | 2.4ms | 18.8MB | 537ms | 3ms | wasmtime 28.0.0 |
d | 1.d | 642ms | 10ms | 4.6MB | 630ms | 0ms | dmd 2.109.1 |
d | 2.d | 1931ms | 36ms | 4.6MB | 1923ms | 0ms | dmd 2.109.1 |
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 |
wasm | 1.rs | 46ms | 1.3ms | 18.9MB | 30ms | 0ms | wasmtime 28.0.0 |
wasm | 2.rs | 62ms | 1.3ms | 20.8MB | 50ms | 0ms | wasmtime 28.0.0 |
d | 1.d | 67ms | 2.1ms | 4.8MB | 60ms | 0ms | dmd 2.109.1 |
d | 2.d | 198ms | 2.4ms | 4.8MB | 190ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 285ms | 1.0ms | 43.7MB | 273ms | 0ms | ldc2 1.40.0 |
d | 1.d | 296ms | 2.6ms | 77.2MB | 277ms | 3ms | dmd 2.109.1 |
wasm | 2.rs | 308ms | 3.3ms | 23.9MB | 300ms | 0ms | wasmtime 28.0.0 |
wasm | 1.rs | 437ms | 1.5ms | 58.0MB | 417ms | 3ms | wasmtime 28.0.0 |
d | 2.d | 798ms | 3.1ms | 47.7MB | 777ms | 10ms | ldc2 1.40.0 |
d | 2.d | 1115ms | 19ms | 49.3MB | 1100ms | 0ms | dmd 2.109.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
d | 1.d | 58ms | 2.9ms | 13.7MB | 47ms | 3ms | ldc2 1.40.0 |
d | 1.d | 62ms | 1.1ms | 23.9MB | 47ms | 3ms | dmd 2.109.1 |
wasm | 2.rs | 80ms | 0.2ms | 23.9MB | 70ms | 0ms | wasmtime 28.0.0 |
wasm | 1.rs | 90ms | 2.3ms | 28.7MB | 77ms | 3ms | wasmtime 28.0.0 |
d | 2.d | 196ms | 2.3ms | 15.7MB | 177ms | 3ms | ldc2 1.40.0 |
d | 2.d | 274ms | 1.6ms | 17.6MB | 260ms | 0ms | dmd 2.109.1 |
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 |
wasm | 2.rs | 3400ms | 18ms | 18.6MB | 3387ms | 0ms | wasmtime 28.0.0 |
d | 1.d | 3420ms | 19ms | 5.8MB | 3410ms | 0ms | dmd 2.109.1 |
wasm | 7.rs | 4694ms | 77ms | 18.6MB | 4683ms | 0ms | wasmtime 28.0.0 |