Acton VS C# benchmarks

Current benchmark data was generated on Fri Dec 09 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (Model 85)

* -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 548ms 11ms 7.4MB 487ms 43ms actonc 0.14.2
csharp 1.cs timeout 0.0ms 0.0MB 0ms 0ms dotnet 7.0.100
csharp 1.cs timeout 0.0ms 0.0MB 0ms 0ms dotnet/aot 7.0.100

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 202ms 1.2ms 5.3MB 183ms 3ms actonc 0.14.2
csharp 1.cs 849ms 0.6ms 19.1MB 833ms 7ms dotnet/aot 7.0.100
csharp 1.cs 964ms 2.1ms 109.5MB 903ms 30ms dotnet 7.0.100

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 5.2ms 3.9ms 3.1MB 0ms 0ms actonc 0.14.2
csharp 1.cs 9.0ms 5.3ms 13.4MB 0ms 0ms dotnet/aot 7.0.100
csharp 1.cs 20ms 1.2ms 25.5MB 10ms 0ms mono 6.12.0
csharp 1.cs 80ms 2.8ms 101.5MB 28ms 26ms dotnet 7.0.100

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 1.cs 4334ms 25ms 59.3MB 4293ms 40ms dotnet/aot 7.0.100
csharp 1.cs 4618ms 166ms 154.9MB 4513ms 127ms dotnet 7.0.100
acton 1.act 4902ms 85ms 7.8MB 4477ms 777ms actonc 0.14.2

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 1.cs 1029ms 2.6ms 58.5MB 997ms 30ms dotnet/aot 7.0.100
csharp 1.cs 1187ms 52ms 153.5MB 1157ms 63ms dotnet 7.0.100
acton 1.act 1475ms 7.3ms 6.4MB 1327ms 277ms actonc 0.14.2