Haxe Versus Python 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
python 5.py 563ms 17ms 13.4MB 740ms 143ms cpython 3.10.0
python 5.py 871ms 25ms 85.3MB 813ms 350ms pypy 3.7.12
haxe 1.hx 1286ms 103ms 3.9MB 767ms 230ms haxe/hashlink 1.12.0
python 5.py 2429ms 9.1ms 44.9MB 2843ms 410ms pyjion 3.10.0

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
haxe 1.hx 5.0ms 2.1ms 3.1MB 0ms 0ms haxe/hashlink 1.12.0
python 1.py 16ms 1.8ms 7.7MB 10ms 0ms cpython 3.10.0
python 1.py 32ms 1.1ms 53.6MB 8ms 10ms pypy 3.7.12
python 1.py 55ms 1.6ms 17.7MB 38ms 2ms pyjion 3.10.0

nbody

Input: 5000000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
python 2.py 2358ms 13ms 74.3MB 2330ms 17ms pypy 3.7.12
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
python 2.py 299ms 2.4ms 74.5MB 267ms 17ms pypy 3.7.12
haxe 1.hx 322ms 1.1ms 3.3MB 310ms 0ms haxe/hashlink 1.12.0
python 1.py 559ms 1.5ms 74.0MB 530ms 13ms pypy 3.7.12

Input: 100000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
haxe 1.hx 72ms 1.3ms 3.4MB 60ms 0ms haxe/hashlink 1.12.0
python 2.py 113ms 3.0ms 74.0MB 87ms 17ms pypy 3.7.12
python 1.py 153ms 0.9ms 74.0MB 130ms 10ms pypy 3.7.12
python 1.py 1061ms 7.4ms 8.5MB 1047ms 0ms cpython 3.10.0
python 2.py 1371ms 2.1ms 27.0MB 1333ms 17ms pyjion 3.10.0
python 2.py 1464ms 14ms 8.4MB 1450ms 0ms cpython 3.10.0
python 1.py 1642ms 9.0ms 27.9MB 1613ms 10ms pyjion 3.10.0

spectral-norm

Input: 1000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
haxe 1.hx 718ms 3.8ms 3.6MB 710ms 0ms haxe/hashlink 1.12.0
python 8.py 1661ms 15ms 99.5MB 2540ms 167ms pypy 3.7.12