Haxe Versus Zig benchmarks

Current benchmark data was generated on Sat Nov 27 2021, full log can be found HERE

CONTRIBUTIONS are WELCOME!

fasta

Input: 250000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
haxe 1.hx 1286ms 103ms 3.9MB 767ms 230ms haxe/hashlink 1.12.0

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
zig 1.zig 1.4ms 0.8ms 0.1MB 0ms 0ms zig 0.9.0-dev
haxe 1.hx 5.0ms 2.1ms 3.1MB 0ms 0ms haxe/hashlink 1.12.0

nbody

Input: 5000000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
zig 2.zig 263ms 0.5ms 0.0MB 253ms 0ms zig 0.9.0-dev
zig 1.zig 412ms 7.9ms 0.1MB 403ms 0ms zig 0.9.0-dev
haxe 1.hx 3183ms 4.6ms 3.4MB 3170ms 0ms haxe/hashlink 1.12.0

Input: 500000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
zig 2.zig 27ms 0.2ms 0.0MB 20ms 0ms zig 0.9.0-dev
zig 1.zig 44ms 0.4ms 0.1MB 33ms 0ms zig 0.9.0-dev
haxe 1.hx 322ms 1.1ms 3.3MB 310ms 0ms haxe/hashlink 1.12.0

Input: 100000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
zig 2.zig 6.9ms 0.6ms 0.0MB 0ms 0ms zig 0.9.0-dev
zig 1.zig 9.4ms 1.3ms 0.1MB 0ms 0ms zig 0.9.0-dev
haxe 1.hx 72ms 1.3ms 3.4MB 60ms 0ms haxe/hashlink 1.12.0

spectral-norm

Input: 1000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
zig 2.zig 19ms 1.6ms 0.1MB 20ms 0ms zig 0.9.0-dev
zig 1.zig 64ms 1.9ms 0.1MB 53ms 0ms zig 0.9.0-dev
haxe 1.hx 718ms 3.8ms 3.6MB 710ms 0ms haxe/hashlink 1.12.0