Acton VS C# 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
csharp 1.cs 4073ms 4.1ms 24.1MB 4040ms 17ms dotnet/aot 9.0.100
csharp 1.cs 4945ms 5.6ms 43.9MB 4920ms 13ms dotnet 9.0.100

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
csharp 1.cs 677ms 0.3ms 20.4MB 657ms 3ms dotnet/aot 9.0.100
csharp 1.cs 917ms 60ms 40.2MB 887ms 20ms dotnet 9.0.100

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 4.3ms 0.4ms 8.0MB 0ms 0ms actonc 0.24.1
csharp 1.cs 9.1ms 5.6ms 15.6MB 0ms 0ms dotnet/aot 9.0.100
csharp 1.cs 31ms 0.9ms 23.4MB 20ms 0ms mono 6.12.0
csharp 1.cs 35ms 0.6ms 32.3MB 20ms 6ms dotnet 9.0.100

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
csharp 1.cs 3199ms 6.2ms 19.7MB 3087ms 107ms dotnet/aot 9.0.100
csharp 1.cs 3600ms 78ms 44.2MB 3597ms 130ms dotnet 9.0.100

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 1.cs 751ms 1.3ms 19.6MB 710ms 30ms dotnet/aot 9.0.100
acton 1-m.act 932ms 61ms 5.7MB 810ms 600ms actonc 0.24.1
csharp 1.cs 991ms 26ms 44.0MB 1090ms 37ms dotnet 9.0.100