Current benchmark data was generated on Mon Dec 30 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 |
---|---|---|---|---|---|---|---|
rust | 1.rs | 1.2ms | 0.0ms | 1.9MB | 0ms | 0ms | rustc 1.85.0-nightly |
rust | 1.rs | 1.3ms | 0.1ms | 1.8MB | 0ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | 2.2ms | 0.2ms | 4.9MB | 0ms | 0ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | 2.3ms | 0.2ms | 4.4MB | 0ms | 0ms | haxe/cpp 4.3.6 |
haxe | 1.hx | 3.8ms | 0.4ms | 5.3MB | 0ms | 0ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 4-i.rs | 180ms | 29ms | 1.8MB | 170ms | 0ms | rustc 1.83.0 |
rust | 7-i.rs | 236ms | 1.2ms | 1.8MB | 223ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 238ms | 0.9ms | 1.8MB | 230ms | 0ms | rustc 1.83.0 |
rust | 2.rs | 278ms | 0.4ms | 1.8MB | 270ms | 0ms | rustc 1.83.0 |
rust | 3.rs | 280ms | 0.1ms | 1.9MB | 270ms | 0ms | rustc 1.85.0-nightly |
haxe | 2.hx | 853ms | 4.3ms | 5.0MB | 843ms | 0ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | 1056ms | 20ms | 5.0MB | 1047ms | 0ms | haxe/hl/c 4.3.6 |
haxe | 3.hx | 1383ms | 5.0ms | 27.5MB | 1513ms | 37ms | haxe/cpp 4.3.6 |
haxe | 2.hx | 2402ms | 1.6ms | 5.8MB | 2390ms | 0ms | haxe/hl/jit 1.14.0 |
haxe | 1.hx | 2449ms | 4.0ms | 5.8MB | 2437ms | 0ms | haxe/hl/jit 1.14.0 |
haxe | 1.hx | timeout | 0.0ms | 4.4MB | 4990ms | 0ms | haxe/cpp 4.3.6 |
haxe | 2.hx | timeout | 0.0ms | 4.4MB | 4990ms | 0ms | haxe/cpp 4.3.6 |
haxe | 3.hx | timeout | 0.0ms | 5.3MB | 3917ms | 1587ms | haxe/hl/c 4.3.6 |
haxe | 3.hx | timeout | 0.0ms | 6.0MB | 4130ms | 1333ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 4-i.rs | 18ms | 0.1ms | 1.8MB | 10ms | 0ms | rustc 1.83.0 |
rust | 7-i.rs | 26ms | 0.2ms | 1.8MB | 17ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 26ms | 0.3ms | 1.8MB | 17ms | 0ms | rustc 1.83.0 |
rust | 2.rs | 30ms | 0.2ms | 1.8MB | 20ms | 0ms | rustc 1.83.0 |
rust | 3.rs | 30ms | 0.2ms | 1.8MB | 20ms | 0ms | rustc 1.85.0-nightly |
haxe | 2.hx | 89ms | 1.1ms | 5.0MB | 80ms | 0ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | 109ms | 1.4ms | 5.0MB | 100ms | 0ms | haxe/hl/c 4.3.6 |
haxe | 3.hx | 153ms | 1.0ms | 25.6MB | 147ms | 13ms | haxe/cpp 4.3.6 |
haxe | 2.hx | 244ms | 0.6ms | 5.8MB | 230ms | 0ms | haxe/hl/jit 1.14.0 |
haxe | 1.hx | 251ms | 2.9ms | 5.7MB | 240ms | 0ms | haxe/hl/jit 1.14.0 |
haxe | 3.hx | 662ms | 6.0ms | 5.3MB | 483ms | 237ms | haxe/hl/c 4.3.6 |
haxe | 2.hx | 675ms | 7.4ms | 4.4MB | 663ms | 0ms | haxe/cpp 4.3.6 |
haxe | 3.hx | 772ms | 2.9ms | 5.8MB | 617ms | 210ms | haxe/hl/jit 1.14.0 |
haxe | 1.hx | 805ms | 6.0ms | 4.4MB | 793ms | 0ms | haxe/cpp 4.3.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 8-m.rs | 496ms | 0.3ms | 4.6MB | 1903ms | 3ms | rustc 1.85.0-nightly |
rust | 7-m.rs | 497ms | 0.4ms | 4.2MB | 1913ms | 7ms | rustc 1.83.0 |
rust | 8.rs | 1007ms | 0.3ms | 2.4MB | 993ms | 0ms | rustc 1.85.0-nightly |
rust | 2-m.rs | 1948ms | 0.9ms | 6.2MB | 7640ms | 7ms | rustc 1.83.0 |
rust | 7.rs | 2100ms | 7.2ms | 1.9MB | 2090ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | 3909ms | 15ms | 5.3MB | 3897ms | 0ms | haxe/hl/c 4.3.6 |
rust | 2.rs | 4189ms | 4.1ms | 2.0MB | 4177ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | timeout | 0.0ms | 6.9MB | 4990ms | 0ms | haxe/cpp 4.3.6 |
haxe | 1.hx | timeout | 0.0ms | 5.8MB | 4990ms | 0ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 8-m.rs | 128ms | 0.2ms | 4.2MB | 450ms | 13ms | rustc 1.85.0-nightly |
rust | 7-m.rs | 128ms | 0.1ms | 4.1MB | 473ms | 0ms | rustc 1.83.0 |
rust | 8.rs | 254ms | 0.5ms | 2.3MB | 247ms | 0ms | rustc 1.85.0-nightly |
rust | 2-m.rs | 492ms | 2.9ms | 4.1MB | 1880ms | 0ms | rustc 1.83.0 |
rust | 7.rs | 531ms | 2.9ms | 1.8MB | 520ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | 985ms | 4.9ms | 5.1MB | 970ms | 0ms | haxe/hl/c 4.3.6 |
rust | 2.rs | 1048ms | 0.7ms | 1.9MB | 1040ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | 2388ms | 1.9ms | 6.5MB | 2380ms | 0ms | haxe/cpp 4.3.6 |
haxe | 1.hx | timeout | 0.0ms | 5.7MB | 4990ms | 0ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 8-m.rs | 35ms | 0.4ms | 4.2MB | 113ms | 0ms | rustc 1.85.0-nightly |
rust | 7-m.rs | 36ms | 0.4ms | 4.1MB | 107ms | 3ms | rustc 1.83.0 |
rust | 8.rs | 66ms | 0.3ms | 2.1MB | 57ms | 0ms | rustc 1.85.0-nightly |
rust | 2-m.rs | 128ms | 0.5ms | 4.1MB | 463ms | 0ms | rustc 1.83.0 |
rust | 7.rs | 135ms | 2.7ms | 1.8MB | 127ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | 251ms | 2.3ms | 5.0MB | 240ms | 0ms | haxe/hl/c 4.3.6 |
rust | 2.rs | 264ms | 0.6ms | 1.9MB | 250ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | 602ms | 1.2ms | 5.3MB | 590ms | 0ms | haxe/cpp 4.3.6 |
haxe | 1.hx | 2298ms | 16ms | 5.8MB | 2287ms | 0ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 4.rs | 1245ms | 9.2ms | 33.8MB | 1227ms | 3ms | rustc 1.83.0 |
rust | 5.rs | 1324ms | 7.0ms | 33.8MB | 1297ms | 10ms | rustc 1.83.0 |
haxe | 1.hx | 1335ms | 42ms | 145.9MB | 1523ms | 70ms | haxe/cpp 4.3.6 |
rust | 3.rs | 1436ms | 25ms | 49.8MB | 1403ms | 17ms | rustc 1.83.0 |
haxe | 2.hx | 4428ms | 63ms | 497.1MB | 5017ms | 250ms | haxe/cpp 4.3.6 |
haxe | 1.hx | timeout | 0.0ms | 50.6MB | 5383ms | 433ms | haxe/hl/c 4.3.6 |
haxe | 2.hx | timeout | 0.0ms | 85.0MB | 4953ms | 717ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | timeout | 0.0ms | 53.1MB | 7477ms | 390ms | haxe/hl/jit 1.14.0 |
haxe | 2.hx | timeout | 0.0ms | 132.9MB | 7453ms | 820ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
haxe | 1.hx | 86ms | 1.8ms | 27.6MB | 70ms | 10ms | haxe/cpp 4.3.6 |
rust | 4.rs | 118ms | 2.7ms | 5.8MB | 107ms | 0ms | rustc 1.83.0 |
rust | 5.rs | 126ms | 0.6ms | 5.8MB | 120ms | 0ms | rustc 1.83.0 |
rust | 3.rs | 141ms | 4.7ms | 7.8MB | 127ms | 0ms | rustc 1.83.0 |
haxe | 2.hx | 388ms | 6.7ms | 58.3MB | 420ms | 23ms | haxe/cpp 4.3.6 |
haxe | 1.hx | 628ms | 2.2ms | 10.9MB | 583ms | 60ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | 666ms | 4.0ms | 13.2MB | 727ms | 43ms | haxe/hl/jit 1.14.0 |
haxe | 2.hx | 915ms | 13ms | 15.5MB | 837ms | 127ms | haxe/hl/c 4.3.6 |
haxe | 2.hx | 953ms | 19ms | 27.2MB | 893ms | 183ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 5-m.rs | 470ms | 226ms | 7.6MB | 1753ms | 53ms | rustc 1.83.0 |
rust | 3-m.rs | 539ms | 55ms | 11.1MB | 2013ms | 73ms | rustc 1.83.0 |
rust | 1-m.rs | 956ms | 11ms | 12.4MB | 3470ms | 257ms | rustc 1.83.0 |
rust | 3.rs | 1141ms | 20ms | 9.3MB | 1100ms | 27ms | rustc 1.83.0 |
rust | 4.rs | 1902ms | 10ms | 7.4MB | 1887ms | 3ms | rustc 1.83.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 5-m.rs | 51ms | 4.2ms | 5.3MB | 150ms | 10ms | rustc 1.83.0 |
rust | 3-m.rs | 53ms | 2.6ms | 6.3MB | 153ms | 17ms | rustc 1.83.0 |
rust | 3.rs | 74ms | 1.0ms | 4.0MB | 60ms | 0ms | rustc 1.83.0 |
rust | 1-m.rs | 87ms | 9.5ms | 7.8MB | 253ms | 43ms | rustc 1.83.0 |
rust | 4.rs | 116ms | 1.8ms | 3.3MB | 107ms | 0ms | rustc 1.83.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 3-im.rs | 411ms | 1.3ms | 4.0MB | 1573ms | 0ms | rustc 1.83.0 |
rust | 5-m.rs | 570ms | 8.3ms | 4.0MB | 2173ms | 0ms | rustc 1.83.0 |
rust | 2-im.rs | 626ms | 1.8ms | 4.0MB | 2390ms | 0ms | rustc 1.83.0 |
rust | 1-m.rs | 982ms | 5.3ms | 8.0MB | 3763ms | 0ms | rustc 1.83.0 |
rust | 3-i.rs | 1490ms | 1.7ms | 1.9MB | 1480ms | 0ms | rustc 1.83.0 |
rust | 2-i.rs | 1753ms | 3.8ms | 1.8MB | 1743ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 2661ms | 17ms | 1.8MB | 2650ms | 0ms | rustc 1.83.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 3-im.rs | 38ms | 0.1ms | 4.0MB | 120ms | 0ms | rustc 1.83.0 |
rust | 5-m.rs | 54ms | 2.0ms | 4.0MB | 173ms | 0ms | rustc 1.83.0 |
rust | 2-im.rs | 60ms | 2.3ms | 6.0MB | 200ms | 0ms | rustc 1.83.0 |
rust | 1-m.rs | 88ms | 2.0ms | 6.0MB | 303ms | 0ms | rustc 1.83.0 |
rust | 3-i.rs | 125ms | 0.3ms | 1.9MB | 117ms | 0ms | rustc 1.83.0 |
rust | 2-i.rs | 149ms | 0.6ms | 1.8MB | 140ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 223ms | 2.6ms | 1.8MB | 210ms | 0ms | rustc 1.83.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 5c-m.rs | 89ms | 1.0ms | 8.3MB | 247ms | 0ms | rustc 1.83.0 |
rust | 5-m.rs | 98ms | 1.1ms | 4.8MB | 323ms | 3ms | rustc 1.83.0 |
rust | 1c.rs | 162ms | 0.9ms | 1.9MB | 150ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 196ms | 0.6ms | 1.9MB | 180ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | 2430ms | 12ms | 27.6MB | 2263ms | 247ms | haxe/cpp 4.3.6 |
haxe | 1.hx | timeout | 0.0ms | 5.2MB | 4253ms | 950ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | timeout | 0.0ms | 5.7MB | 4350ms | 877ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 5c-m.rs | 16ms | 0.5ms | 4.8MB | 20ms | 0ms | rustc 1.83.0 |
rust | 5-m.rs | 17ms | 1.2ms | 4.8MB | 27ms | 0ms | rustc 1.83.0 |
rust | 1c.rs | 19ms | 0.3ms | 1.9MB | 10ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 22ms | 0.1ms | 1.9MB | 10ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | 258ms | 1.6ms | 25.5MB | 223ms | 30ms | haxe/cpp 4.3.6 |
haxe | 1.hx | 651ms | 2.0ms | 5.4MB | 543ms | 123ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | 690ms | 5.2ms | 5.7MB | 577ms | 127ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 1-m.rs | 283ms | 65ms | 45.2MB | 110ms | 320ms | rustc 1.83.0 |
rust | 2-http2.rs | 333ms | 40ms | 59.8MB | 523ms | 420ms | rustc 1.83.0 |
rust | 1-http2.rs | 417ms | 64ms | 66.6MB | 580ms | 613ms | rustc 1.83.0 |
rust | 2-m.rs | 453ms | 57ms | 75.7MB | 217ms | 810ms | rustc 1.83.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 1.rs | 71ms | 14ms | 16.6MB | 7ms | 80ms | rustc 1.83.0 |
rust | 2-m.rs | 121ms | 5.1ms | 35.6MB | 43ms | 173ms | rustc 1.83.0 |
rust | 1-http2.rs | 186ms | 23ms | 28.2MB | 303ms | 177ms | rustc 1.83.0 |
rust | 2-http2.rs | 204ms | 18ms | 34.0MB | 410ms | 163ms | rustc 1.83.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 5-i.rs | 30ms | 1.2ms | 9.8MB | 20ms | 0ms | rustc 1.83.0 |
rust | 4-i.rs | 33ms | 2.7ms | 7.9MB | 20ms | 0ms | rustc 1.83.0 |
rust | 3.rs | 62ms | 1.7ms | 33.8MB | 40ms | 10ms | rustc 1.83.0 |
rust | 2.rs | 62ms | 0.1ms | 35.5MB | 40ms | 10ms | rustc 1.83.0 |
rust | 1.rs | 102ms | 1.9ms | 69.3MB | 57ms | 33ms | rustc 1.83.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 5-i.rs | 208ms | 1.9ms | 52.8MB | 183ms | 7ms | rustc 1.83.0 |
rust | 4-i.rs | 265ms | 3.2ms | 54.5MB | 207ms | 47ms | rustc 1.83.0 |
rust | 3.rs | 412ms | 1.5ms | 238.3MB | 300ms | 97ms | rustc 1.83.0 |
rust | 2.rs | 415ms | 3.6ms | 237.7MB | 300ms | 97ms | rustc 1.83.0 |
rust | 1.rs | 694ms | 8.1ms | 551.8MB | 440ms | 237ms | rustc 1.83.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 0-unsafe.rs | 32ms | 2.1ms | 1.9MB | 23ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 46ms | 1.5ms | 2.0MB | 37ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | 132ms | 0.1ms | 20.5MB | 117ms | 3ms | haxe/cpp 4.3.6 |
haxe | 1.hx | 135ms | 2.0ms | 5.2MB | 123ms | 0ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | 157ms | 2.0ms | 5.8MB | 147ms | 0ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 0-unsafe.rs | 144ms | 14ms | 1.9MB | 133ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 187ms | 10ms | 2.0MB | 177ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | 374ms | 2.7ms | 25.5MB | 363ms | 0ms | haxe/cpp 4.3.6 |
haxe | 1.hx | 394ms | 2.7ms | 5.0MB | 377ms | 0ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | 455ms | 3.5ms | 5.8MB | 440ms | 3ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 0-unsafe.rs | 23ms | 0.8ms | 1.9MB | 10ms | 0ms | rustc 1.83.0 |
rust | 1.rs | 29ms | 2.3ms | 1.9MB | 20ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | 63ms | 1.4ms | 12.4MB | 53ms | 0ms | haxe/cpp 4.3.6 |
haxe | 1.hx | 68ms | 1.0ms | 5.1MB | 60ms | 0ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | 79ms | 1.9ms | 5.7MB | 67ms | 0ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 1.rs | 699ms | 10ms | 33.8MB | 673ms | 10ms | rustc 1.83.0 |
haxe | 1.hx | 881ms | 7.2ms | 96.9MB | 980ms | 40ms | haxe/cpp 4.3.6 |
haxe | 1.hx | timeout | 0.0ms | 34.6MB | 4763ms | 560ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | timeout | 0.0ms | 59.7MB | 6013ms | 470ms | haxe/hl/jit 1.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
rust | 1.rs | 148ms | 0.5ms | 9.8MB | 140ms | 0ms | rustc 1.83.0 |
haxe | 1.hx | 162ms | 1.4ms | 26.6MB | 163ms | 3ms | haxe/cpp 4.3.6 |
haxe | 1.hx | 1282ms | 5.4ms | 12.7MB | 1217ms | 137ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | 1301ms | 8.1ms | 22.3MB | 1310ms | 130ms | haxe/hl/jit 1.14.0 |