Acton VS C# benchmarks

Current benchmark data was generated on Sun Jul 13 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 931ms 8.3ms 181.9MB 933ms 137ms dotnet 9.0.302
csharp 1.cs 942ms 11ms 168.9MB 943ms 137ms dotnet/aot 9.0.302
csharp 1.cs 1685ms 22ms 103.4MB 1870ms 203ms mono 6.12.0
acton 1.act timeout 0.0ms 67.0MB 5860ms 97ms actonc 0.26.0

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 1.cs 118ms 10ms 31.4MB 80ms 27ms dotnet/aot 9.0.302
csharp 1.cs 141ms 3.1ms 44.2MB 120ms 13ms mono 6.12.0
csharp 1.cs 191ms 3.1ms 51.1MB 157ms 30ms dotnet 9.0.302
acton 1.act 825ms 34ms 12.1MB 950ms 67ms actonc 0.26.0

edigits

Input: 250001

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 224ms 8.4ms 8.1MB 207ms 27ms actonc 0.26.0
csharp 1.cs 4089ms 6.5ms 18.6MB 4063ms 10ms dotnet/aot 9.0.302
csharp 1.cs 4970ms 3.7ms 37.8MB 4943ms 20ms dotnet 9.0.302

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 76ms 3.4ms 6.0MB 60ms 17ms actonc 0.26.0
csharp 1.cs 679ms 3.5ms 14.6MB 660ms 3ms dotnet/aot 9.0.302
csharp 1.cs 865ms 3.0ms 33.8MB 843ms 10ms dotnet 9.0.302

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 3.5ms 0.2ms 4.3MB 0ms 0ms actonc 0.26.0
csharp 1.cs 6.3ms 0.2ms 9.4MB 0ms 0ms dotnet/aot 9.0.302
csharp 1.cs 33ms 1.2ms 21.3MB 20ms 0ms mono 6.12.0
csharp 1.cs 35ms 1.0ms 26.0MB 20ms 8ms dotnet 9.0.302

merkletrees

Input: 17

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 2.cs 526ms 4.9ms 121.3MB 493ms 87ms dotnet/aot 9.0.302
csharp 1.cs 564ms 6.4ms 142.8MB 523ms 117ms dotnet/aot 9.0.302
csharp 2.cs 679ms 6.1ms 137.4MB 627ms 103ms dotnet 9.0.302
csharp 1.cs 711ms 59ms 163.7MB 657ms 127ms dotnet 9.0.302
csharp 1.cs 1278ms 6.5ms 140.5MB 1483ms 150ms mono 6.12.0
acton 1.act 3273ms 16ms 84.5MB 3657ms 63ms actonc 0.26.0

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 2.cs 133ms 7.7ms 56.9MB 103ms 33ms dotnet/aot 9.0.302
csharp 1.cs 154ms 2.2ms 73.2MB 117ms 47ms dotnet/aot 9.0.302
csharp 2.cs 257ms 2.2ms 76.0MB 230ms 33ms dotnet 9.0.302
csharp 1.cs 265ms 3.1ms 69.4MB 233ms 40ms mono 6.12.0
csharp 1.cs 278ms 5.2ms 90.1MB 253ms 50ms dotnet 9.0.302
acton 1.act 700ms 14ms 23.8MB 760ms 37ms 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 6.0ms 78.7MB 283ms 7ms dotnet/aot 9.0.302
csharp 1.cs 356ms 7.3ms 96.2MB 327ms 13ms dotnet 9.0.302
csharp 2.cs 400ms 5.0ms 35.6MB 380ms 10ms dotnet 9.0.302
csharp 2.cs 425ms 2.7ms 17.6MB 410ms 0ms dotnet/aot 9.0.302
csharp 1.cs 543ms 7.6ms 84.0MB 520ms 10ms mono 6.12.0
csharp 2.cs 1857ms 2.8ms 27.5MB 1840ms 0ms mono 6.12.0
acton 1.act timeout 0.0ms 561.1MB 6640ms 77ms actonc 0.26.0

Input: 10

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 1.cs 65ms 1.6ms 24.7MB 50ms 0ms dotnet/aot 9.0.302
csharp 1.cs 101ms 2.5ms 42.5MB 83ms 3ms dotnet 9.0.302
csharp 2.cs 106ms 0.6ms 12.0MB 97ms 0ms dotnet/aot 9.0.302
csharp 2.cs 131ms 4.7ms 29.9MB 110ms 10ms dotnet 9.0.302
csharp 1.cs 143ms 1.4ms 38.2MB 130ms 0ms mono 6.12.0
csharp 2.cs 480ms 0.7ms 21.1MB 463ms 0ms mono 6.12.0
acton 1.act 2437ms 22ms 192.3MB 2917ms 53ms actonc 0.26.0

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 1.cs 3220ms 22ms 14.0MB 3130ms 93ms dotnet/aot 9.0.302
acton 1-m.act 3537ms 106ms 6.7MB 3547ms 2483ms actonc 0.26.0
csharp 1.cs 3571ms 43ms 38.0MB 3593ms 117ms dotnet 9.0.302

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
csharp 1.cs 753ms 1.0ms 13.3MB 720ms 27ms dotnet/aot 9.0.302
acton 1-m.act 963ms 41ms 6.0MB 937ms 683ms actonc 0.26.0
csharp 1.cs 993ms 5.8ms 37.9MB 1077ms 40ms dotnet 9.0.302