Acton VS Kotlin benchmarks

Current benchmark data was generated on Sat Nov 16 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.)

edigits

Input: 250001

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 263ms 9.9ms 7.1MB 227ms 70ms actonc 0.24.1

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 95ms 8.4ms 5.5MB 70ms 30ms actonc 0.24.1

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
kotlin 1.kt 2.3ms 0.2ms 4.7MB 0ms 0ms kotlin/native 1.8.21
acton 1.act 4.3ms 0.4ms 8.0MB 0ms 0ms actonc 0.24.1
kotlin 1.kt 55ms 4.0ms 47.5MB 58ms 14ms kotlin/jvm 21

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1-m.act 3110ms 78ms 6.7MB 2773ms 2133ms actonc 0.24.1
kotlin 1.kt 3780ms 66ms 353.7MB 4587ms 93ms kotlin/jvm 21
kotlin 1n.kt timeout 0.0ms 7.6MB 6390ms 297ms kotlin/native 1.8.21
kotlin 2n.kt timeout 0.0ms 8.2MB 4990ms 167ms kotlin/native 1.8.21

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1-m.act 932ms 61ms 5.7MB 810ms 600ms actonc 0.24.1
kotlin 1-m.kt 992ms 31ms 352.8MB 1700ms 87ms kotlin/jvm 21
kotlin 1n.kt timeout 0.0ms 7.3MB 6427ms 263ms kotlin/native 1.8.21
kotlin 2n.kt timeout 0.0ms 8.2MB 5007ms 150ms kotlin/native 1.8.21