The Computer Language
24.04 Benchmarks Game

all C# .NET programs & measurements

.NET SDK 8.0.204
Host Version: 8.0.4
Commit: 2d7eea2529
<AllowUnsafeBlocks>true
<ServerGarbageCollection>true
<ConcurrentGarbageCollection>true
<PublishAot>false
<OptimizationPreference>Speed
<IlcInstructionSet>native

source secs N mem gz cpu secs cpu load
binary-trees  #7 0.58  7 30,944 706 0.11 0% 17% 1% 3%
binary-trees  #7 0.14  14 76,240 706 0.20 76% 28% 26% 23%
binary-trees  #7 4.57  21 1,676,420 706 14.45 76% 73% 75% 93%
source secs N mem gz cpu secs cpu load
binary-trees  0.53  7 30,512 668 0.11 13% 0% 0% 11%
binary-trees  0.14  14 121,444 668 0.25 73% 42% 30% 42%
binary-trees  5.14  21 2,050,380 668 16.24 74% 75% 77% 91%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.42  7 30,636 717 0.07 100% 2% 9% 7%
binary-trees  #2 0.14  14 76,112 717 0.20 92% 33% 46% 78%
binary-trees  #2 4.83  21 1,577,904 717 15.52 81% 79% 87% 77%
source secs N mem gz cpu secs cpu load
binary-trees  #3 0.53  7 33,092 688 0.10 1% 1% 72% 17%
binary-trees  #3 0.16  14 77,696 688 0.21 18% 20% 26% 75%
binary-trees  #3 4.91  21 1,972,604 688 15.69 79% 77% 79% 84%
fannkuch-redux  #7 Bad Output  10
source secs N mem gz cpu secs cpu load
fannkuch-redux  #3 0.69  10 30,520 1117 0.90 29% 29% 32% 41%
fannkuch-redux  #3 1.04  11 30,328 1117 3.86 93% 91% 92% 97%
fannkuch-redux  #3 11.42  12 30,848 1117 44.84 99% 98% 98% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #9 0.57  10 31,768 1232 0.32 16% 13% 8% 22%
fannkuch-redux  #9 0.82  11 31,920 1232 2.87 87% 87% 96% 84%
fannkuch-redux  #9 9.07  12 31,908 1232 35.94 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #6 0.56  10 30,500 1075 0.47 20% 17% 17% 31%
fannkuch-redux  #6 0.78  11 30,636 1075 2.84 90% 90% 91% 96%
fannkuch-redux  #6 8.66  12 30,828 1075 34.31 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #8 0.53  10 31,032 1485 0.19 24% 3% 5% 5%
fannkuch-redux  #8 0.25  11 30,948 1485 0.74 70% 92% 72% 68%
fannkuch-redux  #8 2.24  12 31,032 1485 8.62 99% 96% 96% 96%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 0.68  10 30,288 584 0.29 0% 3% 42% 0%
fannkuch-redux  #2 2.24  11 30,208 584 2.21 0% 98% 0% 0%
fannkuch-redux  #2 29.55  12 30,632 584 29.53 0% 92% 0% 7%
source secs N mem gz cpu secs cpu load
fasta  #5 0.53  250,000 39,148 1702 0.18 25% 3% 5% 1%
fasta  #5 0.23  2,500,000 40,228 1702 0.62 82% 69% 65% 65%
fasta  #5 1.49  25,000,000 51,828 1702 5.46 93% 93% 89% 93%
source secs N mem gz cpu secs cpu load
fasta  0.61  250,000 34,940 2113 0.25 24% 6% 8% 6%
fasta  0.42  2,500,000 48,240 2113 1.22 90% 55% 71% 73%
fasta  1.87  25,000,000 52,604 2113 6.59 93% 88% 84% 87%
source secs N mem gz cpu secs cpu load
k-nucleotide  0.74  250,000 61,584 2046 0.52 12% 11% 13% 36%
k-nucleotide  0.78  2,500,000 77,968 2046 1.65 52% 64% 53% 44%
k-nucleotide  3.02  25,000,000 184,620 2046 10.45 76% 86% 92% 92%
source secs N mem gz cpu secs cpu load
k-nucleotide  #7 1.44  250,000 70,216 1449 1.08 2% 0% 2% 70%
k-nucleotide  #7 4.48  2,500,000 119,100 1449 4.41 2% 0% 0% 97%
k-nucleotide  #7 40.57  25,000,000 761,912 1449 41.01 55% 43% 1% 1%
source secs N mem gz cpu secs cpu load
k-nucleotide  #6 0.78  250,000 61,068 1615 0.39 5% 10% 15% 22%
k-nucleotide  #6 0.91  2,500,000 75,584 1615 1.50 28% 30% 56% 62%
k-nucleotide  #6 4.98  25,000,000 188,080 1615 12.69 64% 98% 41% 53%
source secs N mem gz cpu secs cpu load
k-nucleotide  #4 0.86  250,000 71,740 1725 1.14 29% 47% 28% 28%
k-nucleotide  #4 1.57  2,500,000 119,368 1725 4.69 70% 88% 71% 71%
k-nucleotide  #4 11.52  25,000,000 775,588 1725 41.26 87% 90% 89% 92%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 0.51  1,000 30,988 722 0.22 5% 16% 4% 15%
mandelbrot  #3 0.52  4,000 32,496 722 1.75 92% 84% 83% 82%
mandelbrot  #3 6.79  16,000 64,636 722 26.76 99% 98% 98% 98%
source secs N mem gz cpu secs cpu load
mandelbrot  #9 0.59  1,000 32,572 822 0.33 15% 10% 8% 22%
mandelbrot  #9 0.57  4,000 35,552 822 1.93 80% 82% 85% 93%
mandelbrot  #9 3.22  16,000 66,616 822 12.56 97% 97% 99% 97%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 0.91  1,000 31,220 504 0.50 1% 53% 0% 1%
mandelbrot  #2 5.50  4,000 31,312 504 5.48 0% 99% 1% 0%
mandelbrot  #2 46.04  16,000 31,568 504 46.01 0% 0% 0% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  0.65  1,000 33,132 1980 0.35 9% 9% 7% 30%
mandelbrot  0.44  4,000 35,196 1980 1.31 70% 88% 74% 70%
mandelbrot  3.22  16,000 66,640 1980 12.55 99% 97% 97% 97%
source secs N mem gz cpu secs cpu load
mandelbrot  #5 0.51  1,000 30,744 851 0.19 4% 4% 7% 25%
mandelbrot  #5 0.38  4,000 32,940 851 1.08 71% 68% 88% 70%
mandelbrot  #5 4.04  16,000 64,300 851 15.77 97% 97% 98% 98%
source secs N mem gz cpu secs cpu load
n-body  0.75  500,000 30,956 1424 0.31 2% 42% 1% 0%
n-body  1.01  5,000,000 31,016 1424 0.97 0% 1% 95% 0%
n-body  7.79  50,000,000 31,348 1424 7.78 0% 0% 99% 0%
source secs N mem gz cpu secs cpu load
n-body  #7 0.59  500,000 29,804 1715 0.18 0% 0% 29% 0%
n-body  #7 0.55  5,000,000 29,920 1715 0.54 96% 1% 0% 1%
n-body  #7 4.80  50,000,000 30,216 1715 4.78 99% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #3 0.56  500,000 30,756 1311 0.15 3% 1% 0% 22%
n-body  #3 0.75  5,000,000 30,996 1311 0.73 97% 2% 1% 0%
n-body  #3 6.64  50,000,000 31,228 1311 6.63 1% 99% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #8 0.64  500,000 30,920 1339 0.21 0% 8% 25% 1%
n-body  #8 0.78  5,000,000 31,016 1339 0.76 97% 3% 1% 0%
n-body  #8 6.83  50,000,000 31,272 1339 6.81 0% 0% 0% 99%
source secs N mem gz cpu secs cpu load
n-body  #9 0.62  500,000 29,700 2480 0.16 0% 1% 23% 1%
n-body  #9 0.39  5,000,000 30,016 2480 0.37 2% 92% 2% 2%
n-body  #9 3.16  50,000,000 29,972 2480 3.15 99% 0% 1% 0%
source secs N mem gz cpu secs cpu load
n-body  #6 0.64  500,000 29,796 1754 0.16 4% 4% 22% 3%
n-body  #6 0.56  5,000,000 29,932 1754 0.54 0% 3% 1% 96%
n-body  #6 4.82  50,000,000 30,324 1754 4.81 0% 0% 99% 0%
source secs N mem gz cpu secs cpu load
n-body  #4 0.60  500,000 29,824 2137 0.16 0% 0% 27% 1%
n-body  #4 0.47  5,000,000 29,896 2137 0.44 6% 93% 0% 0%
n-body  #4 3.78  50,000,000 30,096 2137 3.77 99% 1% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #2 0.66  500,000 31,000 1350 0.21 0% 10% 22% 0%
n-body  #2 0.81  5,000,000 31,016 1350 0.77 2% 95% 0% 0%
n-body  #2 6.83  50,000,000 31,272 1350 6.81 0% 99% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  #4 0.63  2,000 30,692 1135 0.18 1% 0% 27% 1%
pidigits  #4 0.53  6,000 33,180 1135 0.51 0% 1% 1% 96%
pidigits  #4 1.37  10,000 33,536 1135 1.35 0% 2% 98% 0%
source secs N mem gz cpu secs cpu load
pidigits  #5 0.60  2,000 31,692 990 0.17 25% 1% 0% 0%
pidigits  #5 0.39  6,000 33,652 990 0.39 5% 10% 0% 94%
pidigits  #5 0.93  10,000 34,944 990 0.95 97% 1% 3% 4%
source secs N mem gz cpu secs cpu load
pidigits  #7 0.90  2,000 50,048 579 0.51 25% 1% 28% 4%
pidigits  #7 2.37  6,000 51,704 579 2.60 8% 3% 96% 3%
pidigits  #7 6.49  10,000 53,020 579 7.05 3% 64% 36% 4%
source secs N mem gz cpu secs cpu load
pidigits  #6 0.65  2,000 31,808 1182 0.18 26% 0% 1% 1%
pidigits  #6 0.39  6,000 32,340 1182 0.37 2% 0% 2% 95%
pidigits  #6 0.97  10,000 32,904 1182 0.95 0% 2% 1% 96%
source secs N mem gz cpu secs cpu load
regex-redux  #5 0.66  50,000 43,828 679 0.26 4% 7% 4% 26%
regex-redux  #5 0.35  500,000 99,744 679 0.64 42% 35% 66% 41%
regex-redux  #5 1.96  5,000,000 860,260 679 5.97 75% 77% 87% 66%
source secs N mem gz cpu secs cpu load
regex-redux  0.66  50,000 42,520 641 0.25 37% 1% 0% 0%
regex-redux  0.67  500,000 95,476 641 0.67 1% 7% 88% 10%
regex-redux  4.58  5,000,000 847,208 641 4.81 30% 2% 1% 73%
source secs N mem gz cpu secs cpu load
regex-redux  #4 0.88  50,000 45,324 854 0.69 14% 36% 11% 17%
regex-redux  #4 1.87  500,000 124,280 854 6.21 77% 81% 81% 92%
regex-redux  #4 12.97  5,000,000 960,888 854 44.30 82% 96% 86% 78%
source secs N mem gz cpu secs cpu load
regex-redux  #8 0.63  50,000 36,892 1881 0.17 12% 4% 9% 3%
regex-redux  #8 0.26  500,000 66,196 1881 0.36 23% 50% 50% 16%
regex-redux  #8 1.38  5,000,000 388,784 1881 2.62 96% 40% 21% 33%
source secs N mem gz cpu secs cpu load
reverse-complement  #3 0.63  250,000 39,084 934 0.16 1% 0% 0% 25%
reverse-complement  #3 7.24  100,000,001 1,572,432 934 11.37 53% 21% 65% 19%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 0.59  250,000 34,388 1620 0.14 11% 6% 5% 1%
reverse-complement  #5 2.63  100,000,001 1,026,424 1620 3.63 29% 18% 1% 90%
source secs N mem gz cpu secs cpu load
reverse-complement  #6 0.54  250,000 31,492 1627 0.20 3% 25% 15% 1%
reverse-complement  #6 1.60  100,000,001 1,027,884 1627 3.85 43% 77% 30% 92%
source secs N mem gz cpu secs cpu load
reverse-complement  #7 0.52  250,000 31,256 1312 0.16 3% 24% 1% 5%
reverse-complement  #7 1.55  100,000,001 935,720 1312 4.20 80% 54% 85% 55%
source secs N mem gz cpu secs cpu load
reverse-complement  #8 0.56  250,000 35,632 2641 0.17 12% 9% 10% 1%
reverse-complement  #8 0.56  100,000,001 730,092 2641 1.32 76% 69% 45% 49%
source secs N mem gz cpu secs cpu load
reverse-complement  0.56  250,000 31,020 1130 0.12 21% 0% 0% 1%
reverse-complement  2.97  100,000,001 798,068 1130 3.12 3% 2% 57% 44%
source secs N mem gz cpu secs cpu load
simple  0.90  1,000 31,212 472 0.51 1% 2% 56% 1%
simple  5.57  4,000 31,456 472 5.55 1% 0% 99% 0%
simple  46.61  16,000 31,576 472 46.57 0% 0% 0% 99%
source secs N mem gz cpu secs cpu load
spectral-norm  0.64  500 30,196 480 0.17 27% 0% 0% 0%
spectral-norm  1.67  3,000 30,584 480 1.64 0% 98% 2% 0%
spectral-norm  5.40  5,500 31,236 480 5.38 0% 0% 99% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  #5 0.67  500 32,896 776 0.26 25% 7% 4% 4%
spectral-norm  #5 0.53  3,000 34,648 776 1.67 75% 74% 81% 87%
spectral-norm  #5 0.95  5,500 35,932 776 3.34 88% 87% 86% 93%
source secs N mem gz cpu secs cpu load
spectral-norm  #2 0.09  500 30,708 1084 0.12 12% 62% 30% 33%
spectral-norm  #2 Failed  3,000
source secs N mem gz cpu secs cpu load
spectral-norm  #3 0.56  500 32,204 890 0.18 16% 3% 8% 1%
spectral-norm  #3 0.55  3,000 33,192 890 1.82 81% 80% 92% 80%
spectral-norm  #3 1.56  5,500 33,444 890 5.85 92% 97% 92% 93%
source secs N mem gz cpu secs cpu load
too simple  0.57  1,000,000 30,760 210 0.14 24% 0% 0% 1%
too simple  0.54  100,000,000 30,752 210 0.51 0% 1% 0% 94%
too simple  44.01  10,000,000,000 31,116 210 43.98 0% 29% 0% 71%
source secs N mem gz cpu secs cpu load
too simple  #2 0.58  1,000,000 30,764 212 0.13 22% 0% 1% 1%
too simple  #2 0.53  100,000,000 30,756 212 0.51 94% 1% 1% 1%
too simple  #2 43.99  10,000,000,000 31,064 212 43.97 38% 0% 0% 61%