Haxe Versus Nim 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
nim 1.nim 324ms 36ms 0.7MB 63ms 70ms nim 1.6.0
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
nim 1.nim 1.8ms 1.2ms 0.7MB 0ms 0ms nim 1.6.0
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
nim 2.nim 417ms 0.3ms 0.9MB 410ms 0ms nim 1.6.0
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
nim 2.nim 44ms 0.7ms 1.0MB 33ms 0ms nim 1.6.0
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
nim 2.nim 11ms 0.7ms 0.9MB 0ms 0ms nim 1.6.0
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
nim 1.nim 56ms 0.5ms 1.9MB 50ms 0ms nim 1.6.0
haxe 1.hx 718ms 3.8ms 3.6MB 710ms 0ms haxe/hashlink 1.12.0
nim 2.nim 828ms 13ms 2.6MB 363ms 803ms nim 1.6.0