Current benchmark data was generated on Tue Apr 01 2025, 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 | 1322ms | 17ms | 143.9MB | 1503ms | 73ms | haxe/cpp 4.3.6 |
haxe | 2.hx | 4401ms | 35ms | 495.1MB | 4920ms | 270ms | haxe/cpp 4.3.6 |
haxe | 1.hx | timeout | 0.0ms | 48.6MB | 5667ms | 400ms | haxe/hl/c 4.3.6 |
haxe | 2.hx | timeout | 0.0ms | 83.2MB | 5040ms | 660ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | timeout | 0.0ms | 50.6MB | 7873ms | 437ms | haxe/hl/jit 1.15.0 |
haxe | 2.hx | timeout | 0.0ms | 130.9MB | 7293ms | 790ms | haxe/hl/jit 1.15.0 |
php | 1.php | timeout | 0.0ms | 141.8MB | 4963ms | 23ms | php 8.2.28 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
haxe | 1.hx | 90ms | 1.5ms | 25.6MB | 80ms | 10ms | haxe/cpp 4.3.6 |
haxe | 2.hx | 397ms | 9.3ms | 58.3MB | 420ms | 27ms | haxe/cpp 4.3.6 |
php | 1.php | 623ms | 2.8ms | 63.1MB | 587ms | 23ms | php 8.2.28 |
haxe | 1.hx | 644ms | 1.9ms | 8.8MB | 610ms | 50ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | 680ms | 1.9ms | 11.3MB | 743ms | 57ms | haxe/hl/jit 1.15.0 |
haxe | 2.hx | 925ms | 6.4ms | 13.6MB | 817ms | 150ms | haxe/hl/c 4.3.6 |
haxe | 2.hx | 1120ms | 30ms | 25.1MB | 1137ms | 180ms | haxe/hl/jit 1.15.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
haxe | 1.hx | 898ms | 3.0ms | 95.0MB | 997ms | 47ms | haxe/cpp 4.3.6 |
php | 1.php | 4055ms | 54ms | 114.0MB | 4010ms | 30ms | php 8.2.28 |
haxe | 1.hx | timeout | 0.0ms | 32.8MB | 4963ms | 503ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | timeout | 0.0ms | 55.0MB | 6013ms | 480ms | haxe/hl/jit 1.15.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
haxe | 1.hx | 167ms | 1.1ms | 26.6MB | 167ms | 10ms | haxe/cpp 4.3.6 |
php | 1.php | 842ms | 8.7ms | 67.2MB | 803ms | 20ms | php 8.2.28 |
haxe | 1.hx | 1301ms | 7.8ms | 10.8MB | 1233ms | 140ms | haxe/hl/c 4.3.6 |
haxe | 1.hx | 1456ms | 27ms | 20.3MB | 1483ms | 140ms | haxe/hl/jit 1.15.0 |