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 |
---|---|---|---|---|---|---|---|
haxe | 1.hx | 1335ms | 42ms | 145.9MB | 1523ms | 70ms | haxe/cpp 4.3.6 |
odin | 1.odin | 2347ms | 27ms | 49.5MB | 2313ms | 20ms | odin 2024 |
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 |
odin | 1.odin | 220ms | 1.9ms | 7.5MB | 207ms | 0ms | odin 2024 |
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 |
---|---|---|---|---|---|---|---|
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 |
odin | 1.odin | 154ms | 3.7ms | 1.6MB | 143ms | 0ms | odin 2024 |
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 |
---|---|---|---|---|---|---|---|
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 |
odin | 1.odin | 456ms | 2.1ms | 1.6MB | 443ms | 0ms | odin 2024 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
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 |
odin | 1.odin | 69ms | 0.4ms | 1.6MB | 60ms | 0ms | odin 2024 |
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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 354ms | 2.1ms | 1.5MB | 343ms | 0ms | odin 2024 |
odin | 1-i.odin | 356ms | 0.9ms | 1.5MB | 343ms | 0ms | odin 2024 |
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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 37ms | 0.5ms | 1.5MB | 30ms | 0ms | odin 2024 |
odin | 1-i.odin | 39ms | 1.4ms | 1.5MB | 30ms | 0ms | odin 2024 |
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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 3581ms | 2.1ms | 2.9MB | 3567ms | 0ms | odin 2024 |
haxe | 1.hx | 3909ms | 15ms | 5.3MB | 3897ms | 0ms | haxe/hl/c 4.3.6 |
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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 899ms | 2.3ms | 2.3MB | 883ms | 0ms | odin 2024 |
haxe | 1.hx | 985ms | 4.9ms | 5.1MB | 970ms | 0ms | haxe/hl/c 4.3.6 |
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 |
---|---|---|---|---|---|---|---|
odin | 1.odin | 226ms | 0.5ms | 1.9MB | 210ms | 0ms | odin 2024 |
haxe | 1.hx | 251ms | 2.3ms | 5.0MB | 240ms | 0ms | haxe/hl/c 4.3.6 |
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 |