Acton VS V benchmarks

Current benchmark data was generated on Thu Jul 13 2023, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz (Model 106)

* -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 753ms 14ms 10.1MB 733ms 17ms actonc 0.16.0
v 1.v timeout 0.0ms 27.3MB 4977ms 3ms v/clang+gc 0.4.0

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 227ms 6.0ms 11.0MB 210ms 10ms actonc 0.16.0
v 1.v timeout 0.0ms 13.0MB 4980ms 0ms v/clang+gc 0.4.0

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
v 1.v 2.0ms 0.4ms 1.9MB 0ms 0ms v/clang 0.4.0
v 1.v 2.2ms 0.3ms 2.1MB 0ms 0ms v/clang+gc 0.4.0
acton 1.act 8.6ms 2.5ms 4.3MB 0ms 0ms actonc 0.16.0

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
v 1.v 3883ms 46ms 3.0MB 3857ms 10ms v/clang+gc 0.4.0
acton 1.act timeout 0.0ms 12.2MB 5747ms 627ms actonc 0.16.0
v 1.v timeout 0.0ms 4.0MB 4983ms 0ms v/clang 0.4.0
v 2.v timeout 0.0ms 3.3MB 4987ms 0ms v/clang+gc 0.4.0

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
v 1.v 964ms 7.4ms 2.8MB 950ms 0ms v/clang+gc 0.4.0
v 1.v 1413ms 27ms 2.9MB 1393ms 0ms v/clang 0.4.0
v 2.v 1802ms 7.2ms 3.1MB 1783ms 0ms v/clang+gc 0.4.0
acton 1.act 2512ms 118ms 8.3MB 2777ms 297ms actonc 0.16.0