Acton VS C# benchmarks

Current benchmark data was generated on Fri Aug 01 2025, 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
csharp 1.cs 940ms 5.4ms 167.7MB 933ms 127ms dotnet/aot 9.0.303
csharp 1.cs 952ms 25ms 200.7MB 960ms 150ms dotnet 9.0.303
csharp 1.cs 1675ms 21ms 101.3MB 1873ms 200ms mono 6.12.0
acton 1.act timeout 0.0ms 67.2MB 5870ms 87ms actonc 0.26.0

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 1.cs 115ms 10ms 38.9MB 80ms 27ms dotnet/aot 9.0.303
csharp 1.cs 143ms 2.1ms 42.1MB 120ms 13ms mono 6.12.0
csharp 1.cs 198ms 7.5ms 50.1MB 157ms 30ms dotnet 9.0.303
acton 1.act 826ms 31ms 12.1MB 957ms 60ms actonc 0.26.0

edigits

Input: 250001

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 232ms 12ms 8.0MB 210ms 33ms actonc 0.26.0
csharp 1.cs 4085ms 1.5ms 18.4MB 4060ms 10ms dotnet/aot 9.0.303
csharp 1.cs 4945ms 9.9ms 37.9MB 4913ms 20ms dotnet 9.0.303

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 73ms 0.7ms 6.0MB 60ms 10ms actonc 0.26.0
csharp 1.cs 679ms 1.9ms 14.6MB 660ms 7ms dotnet/aot 9.0.303
csharp 1.cs 862ms 3.7ms 33.8MB 837ms 13ms dotnet 9.0.303

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 3.6ms 0.1ms 4.4MB 0ms 0ms actonc 0.26.0
csharp 1.cs 6.8ms 2.0ms 9.5MB 0ms 0ms dotnet/aot 9.0.303
csharp 1.cs 30ms 1.2ms 21.3MB 20ms 0ms mono 6.12.0
csharp 1.cs 35ms 0.9ms 26.1MB 20ms 4ms dotnet 9.0.303

merkletrees

Input: 17

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 2.cs 517ms 7.3ms 121.6MB 480ms 83ms dotnet/aot 9.0.303
csharp 1.cs 571ms 37ms 146.6MB 527ms 110ms dotnet/aot 9.0.303
csharp 2.cs 683ms 21ms 136.3MB 630ms 97ms dotnet 9.0.303
csharp 1.cs 685ms 0.3ms 167.1MB 637ms 120ms dotnet 9.0.303
csharp 1.cs 1259ms 19ms 140.4MB 1457ms 147ms mono 6.12.0
acton 1.act 3354ms 208ms 84.5MB 3730ms 60ms actonc 0.26.0

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 2.cs 134ms 9.0ms 59.6MB 103ms 37ms dotnet/aot 9.0.303
csharp 1.cs 150ms 4.8ms 73.3MB 120ms 43ms dotnet/aot 9.0.303
csharp 2.cs 259ms 1.2ms 73.3MB 223ms 37ms dotnet 9.0.303
csharp 1.cs 259ms 7.4ms 69.4MB 230ms 37ms mono 6.12.0
csharp 1.cs 272ms 2.0ms 89.9MB 233ms 60ms dotnet 9.0.303
acton 1.act 703ms 20ms 23.8MB 760ms 40ms actonc 0.26.0

nsieve

Input: 12

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 1.cs 304ms 2.9ms 78.8MB 283ms 7ms dotnet/aot 9.0.303
csharp 1.cs 335ms 11ms 96.1MB 310ms 17ms dotnet 9.0.303
csharp 2.cs 395ms 5.1ms 35.8MB 370ms 10ms dotnet 9.0.303
csharp 2.cs 425ms 3.3ms 17.5MB 410ms 0ms dotnet/aot 9.0.303
csharp 1.cs 535ms 4.1ms 84.0MB 517ms 7ms mono 6.12.0
csharp 2.cs 1862ms 5.9ms 27.5MB 1843ms 3ms mono 6.12.0
acton 1.act timeout 0.0ms 560.8MB 6650ms 90ms actonc 0.26.0

Input: 10

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 1.cs 66ms 2.7ms 24.9MB 50ms 0ms dotnet/aot 9.0.303
csharp 1.cs 98ms 1.4ms 42.5MB 80ms 10ms dotnet 9.0.303
csharp 2.cs 108ms 1.0ms 11.8MB 97ms 0ms dotnet/aot 9.0.303
csharp 2.cs 131ms 1.6ms 30.0MB 110ms 10ms dotnet 9.0.303
csharp 1.cs 142ms 0.4ms 38.0MB 127ms 0ms mono 6.12.0
csharp 2.cs 480ms 1.2ms 23.0MB 470ms 0ms mono 6.12.0
acton 1.act 2393ms 5.2ms 192.5MB 2880ms 50ms actonc 0.26.0

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 1.cs 3202ms 2.9ms 14.0MB 3100ms 93ms dotnet/aot 9.0.303
acton 1-m.act 3528ms 126ms 6.8MB 3530ms 2533ms actonc 0.26.0
csharp 1.cs 3585ms 20ms 38.1MB 3607ms 117ms dotnet 9.0.303

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 1.cs 754ms 6.4ms 13.4MB 723ms 20ms dotnet/aot 9.0.303
acton 1-m.act 944ms 33ms 6.2MB 863ms 740ms actonc 0.26.0
csharp 1.cs 994ms 8.3ms 37.4MB 1083ms 40ms dotnet 9.0.303