Haxe Versus Lua 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
lua 1.lua 2.7ms 0.8ms 2.2MB 0ms 0ms luajit 2.1.0-beta3
lua 1.lua 2.7ms 0.7ms 1.3MB 0ms 0ms lua 5.4.3
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
lua 4.lua 1111ms 13ms 2.6MB 1103ms 0ms luajit 2.1.0-beta3
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
lua 4.lua 114ms 0.8ms 2.5MB 103ms 0ms luajit 2.1.0-beta3
haxe 1.hx 322ms 1.1ms 3.3MB 310ms 0ms haxe/hashlink 1.12.0
lua 4.lua 1157ms 23ms 1.3MB 1147ms 0ms lua 5.4.3

Input: 100000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
lua 4.lua 26ms 2.2ms 2.5MB 20ms 0ms luajit 2.1.0-beta3
haxe 1.hx 72ms 1.3ms 3.4MB 60ms 0ms haxe/hashlink 1.12.0
lua 4.lua 250ms 19ms 1.3MB 237ms 0ms lua 5.4.3

spectral-norm

Input: 1000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
lua 1.lua 92ms 1.8ms 2.5MB 80ms 0ms luajit 2.1.0-beta3
haxe 1.hx 718ms 3.8ms 3.6MB 710ms 0ms haxe/hashlink 1.12.0
lua 1.lua 2253ms 23ms 1.3MB 2243ms 0ms lua 5.4.3