All C# benchmarks

Current benchmark data was generated on Tue Jan 18 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz

binarytrees

Input: 18

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.cs 937ms 15ms 481.4MB 1357ms 260ms dotnet 6.0.101
2.cs 951ms 21ms 468.6MB 1370ms 260ms dotnet/dynpgo 6.0.101
1.cs 1326ms 12ms 390.3MB 1237ms 167ms dotnet 6.0.101
1.cs 1334ms 16ms 393.1MB 1210ms 193ms dotnet/dynpgo 6.0.101
1.cs 2327ms 19ms 103.1MB 2657ms 197ms mono 6.12.0
2.cs 2762ms 117ms 111.3MB 4057ms 237ms mono 6.12.0

Input: 14

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 87ms 0.3ms 36.1MB 70ms 7ms mono 6.12.0
2.cs 105ms 3.4ms 92.8MB 83ms 30ms dotnet 6.0.101
2.cs 110ms 2.6ms 89.6MB 83ms 40ms dotnet/dynpgo 6.0.101
2.cs 120ms 16ms 48.6MB 153ms 13ms mono 6.12.0
1.cs 129ms 2.9ms 86.4MB 70ms 30ms dotnet 6.0.101
1.cs 131ms 5.3ms 89.7MB 67ms 33ms dotnet/dynpgo 6.0.101

coro-prime-sieve

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 488ms 62ms 81.8MB 593ms 50ms dotnet 6.0.101
1.cs 535ms 39ms 84.4MB 677ms 53ms dotnet/dynpgo 6.0.101

edigits

Input: 100000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 1117ms 2.7ms 47.8MB 1060ms 30ms dotnet/dynpgo 6.0.101
1.cs 1167ms 9.2ms 47.9MB 1063ms 33ms dotnet 6.0.101

fannkuch-redux

Input: 11

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
9.cs 1522ms 16ms 27.7MB 2880ms 3ms dotnet/dynpgo 6.0.101
9.cs 1538ms 10ms 27.6MB 2890ms 3ms dotnet 6.0.101

Input: 10

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
9.cs 174ms 3.0ms 27.4MB 250ms 7ms dotnet/dynpgo 6.0.101
9.cs 179ms 4.7ms 25.6MB 250ms 3ms dotnet 6.0.101

fasta

Input: 2500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
5.cs 479ms 18ms 68.5MB 520ms 67ms dotnet/dynpgo 6.0.101
5.cs 508ms 17ms 82.9MB 533ms 93ms dotnet 6.0.101
5.cs 558ms 4.7ms 65.8MB 733ms 57ms mono 6.12.0

Input: 250000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
5.cs 96ms 3.0ms 39.7MB 100ms 20ms mono 6.12.0
5.cs 113ms 8.5ms 42.4MB 87ms 23ms dotnet/dynpgo 6.0.101
5.cs 117ms 4.0ms 41.8MB 93ms 17ms dotnet 6.0.101

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 20ms 0.8ms 24.0MB 10ms 0ms mono 6.12.0
1.cs 52ms 3.6ms 28.8MB 22ms 0ms dotnet 6.0.101
1.cs 53ms 4.8ms 30.8MB 24ms 0ms dotnet/dynpgo 6.0.101

http-server

Input: 3000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 970ms 62ms 159.2MB 997ms 450ms dotnet 6.0.101
2.cs 991ms 38ms 158.9MB 863ms 493ms dotnet/dynpgo 6.0.101
2.cs 1001ms 19ms 153.8MB 880ms 497ms dotnet 6.0.101
1.cs 1009ms 55ms 173.1MB 1013ms 483ms dotnet/dynpgo 6.0.101

Input: 500

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.cs 565ms 14ms 81.8MB 503ms 113ms dotnet 6.0.101
2.cs 574ms 19ms 81.4MB 513ms 110ms dotnet/dynpgo 6.0.101
1.cs 575ms 3.9ms 88.5MB 587ms 133ms dotnet 6.0.101
1.cs 593ms 12ms 86.7MB 620ms 120ms dotnet/dynpgo 6.0.101

json-serde

Input: sample 5000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.cs 363ms 2.8ms 67.2MB 307ms 43ms dotnet 6.0.101
2.cs 376ms 2.2ms 67.8MB 333ms 30ms dotnet/dynpgo 6.0.101
1.cs 538ms 5.6ms 146.8MB 510ms 53ms dotnet/dynpgo 6.0.101
1.cs 539ms 5.2ms 145.7MB 520ms 50ms dotnet 6.0.101

Input: canada 15

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.cs 2135ms 8.4ms 271.0MB 2213ms 107ms dotnet/dynpgo 6.0.101
2.cs 2147ms 52ms 283.5MB 2197ms 140ms dotnet 6.0.101
1.cs 3318ms 145ms 754.3MB 3220ms 350ms dotnet 6.0.101
1.cs 3382ms 142ms 761.1MB 3547ms 360ms dotnet/dynpgo 6.0.101

knucleotide

Input: 2500000_in

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.cs 1264ms 91ms 77.3MB 1883ms 37ms dotnet 6.0.101
6.cs 1298ms 226ms 73.7MB 1717ms 37ms dotnet/dynpgo 6.0.101
6.cs 1603ms 86ms 69.2MB 2513ms 23ms mono 6.12.0

Input: 250000_in

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
6.cs 237ms 1.4ms 56.1MB 313ms 13ms mono 6.12.0
6.cs 251ms 6.9ms 67.8MB 280ms 23ms dotnet 6.0.101
6.cs 299ms 9.9ms 62.0MB 277ms 20ms dotnet/dynpgo 6.0.101

lru

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 4021ms 22ms 92.0MB 3970ms 20ms dotnet/dynpgo 6.0.101
1.cs 4047ms 19ms 91.5MB 3983ms 43ms dotnet 6.0.101

Input: 1000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 880ms 2.7ms 89.6MB 830ms 37ms dotnet/dynpgo 6.0.101
1.cs 882ms 3.2ms 87.6MB 837ms 33ms dotnet 6.0.101

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 481ms 2.3ms 77.2MB 443ms 23ms dotnet/dynpgo 6.0.101
1.cs 482ms 3.2ms 73.2MB 447ms 23ms dotnet 6.0.101

mandelbrot

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
9.cs 1909ms 8.4ms 43.5MB 3640ms 17ms dotnet 6.0.101
9.cs 2118ms 258ms 44.5MB 3650ms 13ms dotnet/dynpgo 6.0.101

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
9.cs 108ms 1.7ms 34.7MB 103ms 10ms dotnet 6.0.101
9.cs 110ms 5.2ms 36.6MB 100ms 10ms dotnet/dynpgo 6.0.101

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
8.cs 517ms 4.0ms 29.1MB 480ms 7ms dotnet/dynpgo 6.0.101
8.cs 518ms 4.6ms 27.2MB 483ms 10ms dotnet 6.0.101
8.cs 1067ms 71ms 24.6MB 1053ms 0ms mono 6.12.0

Input: 500000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
8.cs 102ms 3.1ms 29.2MB 70ms 0ms dotnet 6.0.101
8.cs 106ms 5.6ms 29.1MB 63ms 10ms dotnet/dynpgo 6.0.101
8.cs 124ms 2.8ms 25.4MB 113ms 0ms mono 6.12.0

Input: 100000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
8.cs 43ms 0.6ms 25.3MB 33ms 3ms mono 6.12.0
8.cs 64ms 4.3ms 27.0MB 33ms 3ms dotnet 6.0.101
8.cs 67ms 3.7ms 29.2MB 33ms 3ms dotnet/dynpgo 6.0.101

nsieve

Input: 12

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
2.cs 3992ms 179ms 35.9MB 3943ms 10ms dotnet/dynpgo 6.0.101
2.cs 3998ms 114ms 38.0MB 3953ms 3ms dotnet 6.0.101
1.cs 4729ms 229ms 82.6MB 4700ms 13ms mono 6.12.0

Input: 10

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 629ms 25ms 41.7MB 600ms 0ms dotnet/dynpgo 6.0.101
1.cs 668ms 31ms 43.8MB 637ms 7ms dotnet 6.0.101
1.cs 669ms 23ms 40.9MB 653ms 0ms mono 6.12.0
2.cs 898ms 3.0ms 27.6MB 867ms 3ms dotnet/dynpgo 6.0.101
2.cs 913ms 3.7ms 27.6MB 880ms 0ms dotnet 6.0.101
2.cs 2359ms 3.6ms 26.2MB 2347ms 0ms mono 6.12.0

pidigits

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 1354ms 37ms 90.9MB 1283ms 57ms dotnet 6.0.101
1.cs 1411ms 31ms 90.9MB 1290ms 57ms dotnet/dynpgo 6.0.101

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 170ms 9.4ms 87.5MB 97ms 30ms dotnet/dynpgo 6.0.101
1.cs 171ms 7.4ms 81.3MB 97ms 30ms dotnet 6.0.101

regex-redux

Input: 2500000_in

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
5.cs 2507ms 156ms 534.6MB 4137ms 273ms dotnet/dynpgo 6.0.101
5.cs 2603ms 296ms 543.0MB 4097ms 280ms dotnet 6.0.101

Input: 250000_in

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
5.cs 459ms 19ms 86.0MB 517ms 20ms dotnet/dynpgo 6.0.101
5.cs 463ms 3.4ms 86.7MB 520ms 30ms dotnet 6.0.101

secp256k1

Input: 500

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 1166ms 3.9ms 83.9MB 1147ms 27ms dotnet/dynpgo 6.0.101
1.cs 1179ms 11ms 88.4MB 1157ms 33ms dotnet 6.0.101

Input: 50

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
1.cs 206ms 3.4ms 83.6MB 153ms 27ms dotnet 6.0.101
1.cs 211ms 2.6ms 85.2MB 163ms 20ms dotnet/dynpgo 6.0.101

spectral-norm

Input: 8000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.cs 3056ms 307ms 32.7MB 5200ms 17ms dotnet 6.0.101
3.cs 3063ms 334ms 30.8MB 5193ms 20ms dotnet/dynpgo 6.0.101

Input: 4000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.cs 718ms 3.1ms 30.1MB 1300ms 10ms dotnet/dynpgo 6.0.101
3.cs 723ms 1.5ms 30.1MB 1307ms 7ms dotnet 6.0.101
3.cs 3117ms 18ms 27.6MB 6047ms 10ms mono 6.12.0

Input: 1000

code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
3.cs 104ms 3.1ms 30.3MB 117ms 3ms dotnet 6.0.101
3.cs 112ms 1.4ms 30.1MB 123ms 0ms dotnet/dynpgo 6.0.101
3.cs 228ms 2.5ms 28.8MB 393ms 3ms mono 6.12.0