Current benchmark data was generated on Wed May 25 2022, 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 |
---|---|---|---|---|---|---|---|
swift | 3-m.swift | 300ms | 5.8ms | 21.0MB | 530ms | 10ms | swift 5.6.1 |
haxe | 1.hx | 3188ms | 5.2ms | 27.3MB | 3350ms | 217ms | haxe/cpp 4.2.4 |
haxe | 1.hx | timeout | 0.0ms | 0.0MB | 0ms | 0ms | haxe/hl/c 4.2.4 |
haxe | 1.hx | timeout | 0.0ms | 0.0MB | 0ms | 0ms | haxe/hl/jit 1.12.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
swift | 3.swift | 47ms | 1.6ms | 14.7MB | 43ms | 0ms | swift 5.6.1 |
haxe | 1.hx | 342ms | 5.8ms | 27.4MB | 333ms | 27ms | haxe/cpp 4.2.4 |
haxe | 1.hx | 801ms | 47ms | 3.4MB | 730ms | 53ms | haxe/hl/c 4.2.4 |
haxe | 1.hx | 878ms | 25ms | 3.9MB | 827ms | 37ms | haxe/hl/jit 1.12.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
haxe | 1.hx | 2.9ms | 1.0ms | 2.6MB | 0ms | 0ms | haxe/hl/c 4.2.4 |
swift | 1.swift | 3.0ms | 1.8ms | 2.4MB | 0ms | 0ms | swift 5.6.1 |
haxe | 1.hx | 3.4ms | 0.6ms | 3.2MB | 0ms | 0ms | haxe/cpp 4.2.4 |
haxe | 1.hx | 4.9ms | 0.5ms | 3.3MB | 0ms | 0ms | haxe/hl/jit 1.12.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
swift | 7.swift | 428ms | 28ms | 5.4MB | 420ms | 0ms | swift 5.6.1 |
haxe | 2.hx | 1084ms | 15ms | 2.6MB | 1070ms | 0ms | haxe/hl/c 4.2.4 |
haxe | 1.hx | 1466ms | 63ms | 2.6MB | 1457ms | 0ms | haxe/hl/c 4.2.4 |
haxe | 3.hx | 2205ms | 13ms | 27.6MB | 2720ms | 47ms | haxe/cpp 4.2.4 |
haxe | 2.hx | 2526ms | 63ms | 3.3MB | 2510ms | 0ms | haxe/hl/jit 1.12.0 |
haxe | 1.hx | 2756ms | 36ms | 3.3MB | 2747ms | 0ms | haxe/hl/jit 1.12.0 |
haxe | 1.hx | timeout | 0.0ms | 0.0MB | 0ms | 0ms | haxe/cpp 4.2.4 |
haxe | 2.hx | timeout | 0.0ms | 0.0MB | 0ms | 0ms | haxe/cpp 4.2.4 |
haxe | 3.hx | timeout | 0.0ms | 0.0MB | 0ms | 0ms | haxe/hl/c 4.2.4 |
haxe | 3.hx | timeout | 0.0ms | 0.0MB | 0ms | 0ms | haxe/hl/jit 1.12.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
swift | 7.swift | 43ms | 0.7ms | 5.4MB | 33ms | 0ms | swift 5.6.1 |
haxe | 2.hx | 113ms | 2.1ms | 2.6MB | 100ms | 0ms | haxe/hl/c 4.2.4 |
haxe | 1.hx | 147ms | 0.3ms | 2.6MB | 140ms | 0ms | haxe/hl/c 4.2.4 |
haxe | 3.hx | 238ms | 1.3ms | 25.6MB | 267ms | 10ms | haxe/cpp 4.2.4 |
haxe | 2.hx | 255ms | 0.7ms | 3.4MB | 243ms | 0ms | haxe/hl/jit 1.12.0 |
haxe | 1.hx | 270ms | 2.8ms | 3.3MB | 260ms | 0ms | haxe/hl/jit 1.12.0 |
haxe | 3.hx | 764ms | 6.9ms | 3.2MB | 677ms | 73ms | haxe/hl/c 4.2.4 |
haxe | 2.hx | 832ms | 0.4ms | 4.4MB | 820ms | 0ms | haxe/cpp 4.2.4 |
haxe | 3.hx | 909ms | 4.6ms | 3.9MB | 833ms | 53ms | haxe/hl/jit 1.12.0 |
haxe | 1.hx | 1075ms | 3.8ms | 3.1MB | 1063ms | 0ms | haxe/cpp 4.2.4 |