Acton VS Haxe benchmarks

Current benchmark data was generated on Tue Dec 31 2024, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][4 cores] AMD EPYC 7763 64-Core Processor (Model 1)

* -m in a file name stands for multi-threading or multi-processing

* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)

* -ffi in a file name stands for non-stdlib FFI usage

* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)

binarytrees

Input: 18

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
haxe 1.hx 1232ms 27ms 144.0MB 1417ms 63ms haxe/cpp 4.3.6
haxe 2.hx 4213ms 67ms 497.0MB 4850ms 217ms haxe/cpp 4.3.6
acton 1.act timeout 0.0ms 68.8MB 5927ms 67ms actonc 0.24.1
haxe 1.hx timeout 0.0ms 50.6MB 5367ms 437ms haxe/hl/c 4.3.6
haxe 2.hx timeout 0.0ms 85.0MB 4880ms 743ms haxe/hl/c 4.3.6
haxe 1.hx timeout 0.0ms 52.9MB 7470ms 420ms haxe/hl/jit 1.14.0
haxe 2.hx timeout 0.0ms 132.9MB 7320ms 807ms haxe/hl/jit 1.14.0

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
haxe 1.hx 82ms 3.2ms 25.6MB 73ms 3ms haxe/cpp 4.3.6
haxe 2.hx 354ms 9.3ms 60.1MB 370ms 23ms haxe/cpp 4.3.6
haxe 1.hx 599ms 7.0ms 10.7MB 567ms 47ms haxe/hl/c 4.3.6
haxe 1.hx 636ms 20ms 13.2MB 693ms 50ms haxe/hl/jit 1.14.0
acton 1.act 794ms 30ms 13.9MB 923ms 60ms actonc 0.24.1
haxe 2.hx 874ms 18ms 15.7MB 780ms 130ms haxe/hl/c 4.3.6
haxe 2.hx 891ms 21ms 27.0MB 830ms 180ms haxe/hl/jit 1.14.0

edigits

Input: 250001

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 258ms 21ms 7.0MB 237ms 60ms actonc 0.24.1

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 90ms 2.2ms 7.2MB 73ms 33ms actonc 0.24.1

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
haxe 1.hx 2.1ms 0.1ms 4.8MB 0ms 0ms haxe/hl/c 4.3.6
haxe 1.hx 2.4ms 0.2ms 4.3MB 0ms 0ms haxe/cpp 4.3.6
haxe 1.hx 3.5ms 0.5ms 4.8MB 0ms 0ms haxe/hl/jit 1.14.0
acton 1.act 3.6ms 0.3ms 4.1MB 0ms 0ms actonc 0.24.1

merkletrees

Input: 17

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
haxe 1.hx 860ms 12ms 97.0MB 943ms 40ms haxe/cpp 4.3.6
acton 1.act 3058ms 12ms 101.9MB 3330ms 47ms actonc 0.24.1
haxe 1.hx timeout 0.0ms 34.6MB 4787ms 557ms haxe/hl/c 4.3.6
haxe 1.hx timeout 0.0ms 59.8MB 5720ms 480ms haxe/hl/jit 1.14.0

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
haxe 1.hx 158ms 1.7ms 28.6MB 157ms 7ms haxe/cpp 4.3.6
acton 1.act 676ms 47ms 32.3MB 707ms 20ms actonc 0.24.1
haxe 1.hx 1221ms 17ms 12.8MB 1160ms 127ms haxe/hl/c 4.3.6
haxe 1.hx 1244ms 17ms 22.3MB 1260ms 123ms haxe/hl/jit 1.14.0

nsieve

Input: 12

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act timeout 0.0ms 561.0MB 6733ms 113ms actonc 0.24.1

Input: 10

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 2260ms 73ms 229.8MB 2830ms 30ms actonc 0.24.1

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1-m.act 2853ms 97ms 8.6MB 2510ms 1970ms actonc 0.24.1

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1-m.act 811ms 6.4ms 5.8MB 710ms 577ms actonc 0.24.1