Haxe Versus Ocaml 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
ocaml 6.ml 69ms 1.7ms 5.8MB 43ms 0ms ocamlc 4.13.1
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
ocaml 1.ml 3.1ms 0.7ms 1.3MB 0ms 0ms ocamlc 4.13.1
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
ocaml 1.ml 552ms 16ms 2.6MB 540ms 0ms ocamlc 4.13.1
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
ocaml 1.ml 56ms 0.4ms 2.7MB 47ms 0ms ocamlc 4.13.1
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
ocaml 1.ml 14ms 1.1ms 2.7MB 10ms 0ms ocamlc 4.13.1
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
ocaml 2.ml 96ms 2.4ms 2.6MB 90ms 0ms ocamlc 4.13.1
haxe 1.hx 718ms 3.8ms 3.6MB 710ms 0ms haxe/hashlink 1.12.0