Haxe Versus Crystal 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
crystal 2.cr 259ms 32ms 5.8MB 63ms 73ms crystal 1.2.2
crystal 1.cr 341ms 84ms 5.0MB 87ms 90ms crystal 1.2.2
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
crystal 1.cr 3.5ms 0.8ms 5.1MB 0ms 0ms crystal 1.2.2
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
crystal 1.cr 661ms 0.3ms 3.3MB 650ms 0ms crystal 1.2.2
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
crystal 1.cr 72ms 2.8ms 5.3MB 60ms 0ms crystal 1.2.2
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
crystal 1.cr 18ms 2.4ms 3.3MB 10ms 0ms crystal 1.2.2
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
crystal 1.cr 114ms 10ms 4.0MB 103ms 0ms crystal 1.2.2
haxe 1.hx 718ms 3.8ms 3.6MB 710ms 0ms haxe/hashlink 1.12.0