All C# benchmarks

Current benchmark data was generated on Sun Oct 17 2021, full log can be found HERE

CONTRIBUTIONS are WELCOME!

binarytrees

Input: 18

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.cs 1166ms 16ms 462.4MB 1697ms 300ms dotnet 6.0.100-rc.2.21505.57
2.cs 1300ms 106ms 333.3MB 2050ms 163ms dotnet 5.0.402
1.cs 1674ms 90ms 304.8MB 1550ms 197ms dotnet 6.0.100-rc.2.21505.57
1.cs 1787ms 153ms 268.6MB 1623ms 173ms dotnet 5.0.402
2.cs 3191ms 167ms 108.7MB 4507ms 270ms mono 6.12.0

Input: 14

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.cs 134ms 39ms 78.7MB 127ms 30ms dotnet 6.0.100-rc.2.21505.57
2.cs 143ms 13ms 39.9MB 170ms 10ms mono 6.12.0
1.cs 144ms 17ms 33.7MB 103ms 7ms mono 6.12.0
2.cs 148ms 41ms 82.7MB 140ms 47ms dotnet 5.0.402
1.cs 163ms 32ms 77.8MB 103ms 40ms dotnet 6.0.100-rc.2.21505.57
1.cs 188ms 41ms 78.1MB 133ms 27ms dotnet 5.0.402

coro-prime-sieve

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 507ms 40ms 73.8MB 630ms 57ms dotnet 6.0.100-rc.2.21505.57
1.cs 507ms 65ms 79.1MB 613ms 47ms dotnet 5.0.402

edigits

Input: 100000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 903ms 10.0ms 46.5MB 870ms 17ms dotnet 6.0.100-rc.2.21505.57
1.cs 981ms 5.9ms 50.3MB 943ms 27ms dotnet 5.0.402

fannkuch-redux

Input: 11

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
9.cs 1334ms 135ms 29.5MB 2420ms 0ms dotnet 6.0.100-rc.2.21505.57
9.cs 1384ms 212ms 33.4MB 2373ms 3ms dotnet 5.0.402

Input: 10

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
9.cs 178ms 31ms 31.6MB 240ms 10ms dotnet 5.0.402
9.cs 260ms 47ms 30.1MB 227ms 10ms dotnet 6.0.100-rc.2.21505.57

fasta

Input: 2500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
5.cs 483ms 11ms 87.0MB 510ms 60ms dotnet 6.0.100-rc.2.21505.57
5.cs 572ms 87ms 95.1MB 483ms 63ms dotnet 5.0.402

Input: 250000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
5.cs 125ms 38ms 43.6MB 97ms 27ms dotnet 6.0.100-rc.2.21505.57
5.cs 184ms 22ms 47.9MB 110ms 27ms dotnet 5.0.402

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 38ms 1.5ms 31.0MB 24ms 2ms dotnet 6.0.100-rc.2.21505.57
1.cs 48ms 9.6ms 21.4MB 32ms 2ms mono 6.12.0
1.cs 64ms 21ms 32.2MB 46ms 8ms dotnet 5.0.402

http-server

Input: 3000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 1143ms 9.3ms 187.0MB 1223ms 497ms dotnet 6.0.100-rc.2.21505.57
1.cs 1943ms 32ms 200.8MB 1500ms 513ms dotnet 5.0.402

Input: 500

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 614ms 85ms 94.5MB 630ms 143ms dotnet 5.0.402
1.cs 761ms 174ms 93.2MB 763ms 133ms dotnet 6.0.100-rc.2.21505.57

json-serde

Input: sample 5000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.cs 371ms 44ms 66.0MB 323ms 23ms dotnet 6.0.100-rc.2.21505.57
2.cs 428ms 69ms 72.4MB 360ms 33ms dotnet 5.0.402
1.cs 687ms 77ms 148.3MB 617ms 77ms dotnet 5.0.402
1.cs 710ms 73ms 146.6MB 603ms 83ms dotnet 6.0.100-rc.2.21505.57

Input: canada 15

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.cs 2088ms 29ms 280.9MB 2203ms 117ms dotnet 6.0.100-rc.2.21505.57
2.cs 2260ms 43ms 263.5MB 2363ms 123ms dotnet 5.0.402
1.cs 3428ms 123ms 800.6MB 3363ms 347ms dotnet 6.0.100-rc.2.21505.57
1.cs 3521ms 52ms 800.9MB 3553ms 410ms dotnet 5.0.402

mandelbrot

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
9.cs 1630ms 6.8ms 44.6MB 3123ms 10ms dotnet 6.0.100-rc.2.21505.57
9.cs 1897ms 250ms 42.7MB 3113ms 13ms dotnet 5.0.402

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
9.cs 111ms 39ms 34.7MB 97ms 10ms dotnet 6.0.100-rc.2.21505.57
9.cs 123ms 44ms 36.3MB 113ms 7ms dotnet 5.0.402

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
8.cs 592ms 12ms 27.5MB 570ms 3ms dotnet 6.0.100-rc.2.21505.57
8.cs 606ms 1.6ms 30.6MB 597ms 7ms dotnet 5.0.402
8.cs 1253ms 0.6ms 22.7MB 1240ms 3ms mono 6.12.0

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
8.cs 115ms 34ms 29.4MB 80ms 7ms dotnet 6.0.100-rc.2.21505.57
8.cs 138ms 38ms 30.6MB 103ms 10ms dotnet 5.0.402
8.cs 182ms 17ms 22.4MB 160ms 3ms mono 6.12.0

nsieve

Input: 12

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.cs 2836ms 21ms 36.3MB 2817ms 7ms dotnet 6.0.100-rc.2.21505.57
2.cs 2839ms 32ms 41.9MB 2810ms 7ms dotnet 5.0.402

Input: 10

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.cs 587ms 40ms 31.8MB 547ms 10ms dotnet 6.0.100-rc.2.21505.57
2.cs 604ms 28ms 33.1MB 567ms 13ms dotnet 5.0.402
1.cs 638ms 36ms 50.4MB 613ms 13ms dotnet 6.0.100-rc.2.21505.57
1.cs 651ms 39ms 53.6MB 613ms 17ms dotnet 5.0.402
1.cs 738ms 17ms 38.1MB 693ms 13ms mono 6.12.0
2.cs 2219ms 24ms 23.3MB 2190ms 0ms mono 6.12.0

pidigits

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 1381ms 47ms 81.6MB 1313ms 50ms dotnet 6.0.100-rc.2.21505.57
1.cs 1560ms 68ms 79.6MB 1483ms 50ms dotnet 5.0.402

spectral-norm

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.cs 2751ms 672ms 30.3MB 4690ms 17ms dotnet 6.0.100-rc.2.21505.57

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.cs 635ms 4.4ms 28.6MB 1163ms 13ms dotnet 6.0.100-rc.2.21505.57
3.cs 646ms 3.3ms 33.4MB 1170ms 13ms dotnet 5.0.402
3.cs 2634ms 0.9ms 25.9MB 5083ms 3ms mono 6.12.0

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.cs 111ms 33ms 30.3MB 107ms 17ms dotnet 6.0.100-rc.2.21505.57
3.cs 124ms 38ms 33.3MB 133ms 3ms dotnet 5.0.402
3.cs 249ms 22ms 28.3MB 373ms 7ms mono 6.12.0