Skip to content

Latest commit

 

History

History
137 lines (134 loc) · 27.9 KB

File metadata and controls

137 lines (134 loc) · 27.9 KB

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
13th Gen Intel Core i7-13620H 0.40GHz, 1 CPU, 16 logical and 10 physical cores
.NET SDK 10.0.100
  [Host]     : .NET 10.0.0 (10.0.0, 10.0.25.52411), X64 RyuJIT x86-64-v3 DEBUG
  DefaultJob : .NET 10.0.0 (10.0.0, 10.0.25.52411), X64 RyuJIT x86-64-v3


Method Categories Length Mean Error StdDev Median Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
Dot Dot 100 70.27 ns 0.342 ns 0.320 ns 70.22 ns 1.00 0.01 - - - - NA
DotSIMD Dot 100 32.18 ns 0.012 ns 0.009 ns 32.18 ns 0.46 0.00 - - - - NA
Dot Dot 1000 653.87 ns 3.604 ns 3.371 ns 652.99 ns 1.00 0.01 - - - - NA
DotSIMD Dot 1000 305.58 ns 0.356 ns 0.333 ns 305.54 ns 0.47 0.00 - - - - NA
Dot Dot 1000000 597,769.79 ns 4,241.561 ns 3,967.559 ns 598,864.64 ns 1.00 0.01 - - - - NA
DotSIMD Dot 1000000 315,437.13 ns 5,844.310 ns 5,180.829 ns 313,574.19 ns 0.53 0.01 - - - - NA
FilterFloat Filter,Float 100 588.28 ns 3.696 ns 3.276 ns 588.52 ns 1.00 0.01 0.0029 - - 40 B 1.00
FilterPerformanceFloat Filter,Float 100 865.02 ns 3.459 ns 3.235 ns 865.37 ns 1.47 0.01 0.0019 - - 24 B 0.60
FilterFloat Filter,Float 1000 5,536.30 ns 41.283 ns 38.616 ns 5,535.37 ns 1.00 0.01 0.0076 - - 152 B 1.00
FilterPerformanceFloat Filter,Float 1000 8,160.41 ns 37.570 ns 33.305 ns 8,162.37 ns 1.47 0.01 - - - 24 B 0.16
FilterFloat Filter,Float 1000000 5,405,527.67 ns 46,193.384 ns 40,949.232 ns 5,403,702.50 ns 1.00 0.01 - - - 125024 B 1.000
FilterPerformanceFloat Filter,Float 1000000 8,146,731.72 ns 43,261.964 ns 40,467.268 ns 8,147,215.77 ns 1.51 0.01 - - - 24 B 0.000
Filter Filter,Int 100 188.64 ns 1.080 ns 1.010 ns 188.60 ns 1.00 0.01 0.0229 - - 288 B 1.00
FilterPerformance Filter,Int 100 207.70 ns 0.511 ns 0.453 ns 207.82 ns 1.10 0.01 0.0196 - - 248 B 0.86
Filter Filter,Int 1000 2,093.20 ns 12.536 ns 11.727 ns 2,096.61 ns 1.00 0.01 0.1678 - - 2144 B 1.00
FilterPerformance Filter,Int 1000 2,269.09 ns 24.898 ns 23.289 ns 2,269.61 ns 1.08 0.01 0.1564 - - 1992 B 0.93
Filter Filter,Int 1000000 13,015,322.82 ns 31,197.778 ns 29,182.421 ns 13,011,306.26 ns 1.00 0.00 31.2500 31.2500 31.2500 2128538 B 1.00
FilterPerformance Filter,Int 1000000 13,779,042.34 ns 54,990.794 ns 51,438.423 ns 13,785,252.09 ns 1.06 0.00 31.2500 31.2500 31.2500 2003514 B 0.94
Fold Fold 100 62.46 ns 0.480 ns 0.425 ns 62.48 ns 1.00 0.01 - - - - NA
FoldSIMD Fold 100 14.65 ns 0.133 ns 0.124 ns 14.68 ns 0.23 0.00 - - - - NA
Fold Fold 1000 468.32 ns 3.734 ns 3.493 ns 467.75 ns 1.00 0.01 - - - - NA
FoldSIMD Fold 1000 128.56 ns 0.608 ns 0.568 ns 128.75 ns 0.27 0.00 - - - - NA
Fold Fold 1000000 452,127.88 ns 2,242.326 ns 2,097.473 ns 451,441.92 ns 1.00 0.01 - - - - NA
FoldSIMD Fold 1000000 161,269.92 ns 3,199.065 ns 6,239.532 ns 160,065.21 ns 0.36 0.01 - - - - NA
MapSquareFloat MapSquare,Float 100 124.91 ns 2.553 ns 2.731 ns 124.45 ns 1.00 0.03 0.0656 - - 824 B 1.00
MapSquareSIMDFloat MapSquare,Float 100 77.56 ns 1.161 ns 1.086 ns 77.33 ns 0.62 0.02 0.0656 - - 824 B 1.00
MapSquareFloat MapSquare,Float 1000 960.36 ns 10.687 ns 9.474 ns 958.92 ns 1.00 0.01 0.6390 - - 8024 B 1.00
MapSquareSIMDFloat MapSquare,Float 1000 772.37 ns 12.279 ns 10.885 ns 770.17 ns 0.80 0.01 0.6390 - - 8024 B 1.00
MapSquareFloat MapSquare,Float 1000000 1,908,807.36 ns 40,523.047 ns 116,268.226 ns 1,885,593.77 ns 1.00 0.08 242.1875 242.1875 242.1875 8000100 B 1.00
MapSquareSIMDFloat MapSquare,Float 1000000 1,872,461.67 ns 37,314.269 ns 87,954.129 ns 1,854,200.93 ns 0.98 0.07 246.0938 246.0938 246.0938 8000101 B 1.00
MapSquare MapSquare,Int 100 98.17 ns 2.092 ns 4.178 ns 96.30 ns 1.00 0.06 0.0337 - - 424 B 1.00
MapSquareSIMD MapSquare,Int 100 42.40 ns 0.379 ns 0.336 ns 42.23 ns 0.43 0.02 0.0337 - - 424 B 1.00
MapSquare MapSquare,Int 1000 721.69 ns 10.010 ns 9.363 ns 720.08 ns 1.00 0.02 0.3204 - - 4024 B 1.00
MapSquareSIMD MapSquare,Int 1000 392.12 ns 3.787 ns 3.162 ns 393.16 ns 0.54 0.01 0.3204 - - 4024 B 1.00
MapSquare MapSquare,Int 1000000 1,106,544.28 ns 22,096.012 ns 33,072.274 ns 1,099,971.69 ns 1.00 0.04 148.4375 148.4375 148.4375 4000070 B 1.00
MapSquareSIMD MapSquare,Int 1000000 922,181.31 ns 15,329.156 ns 12,800.539 ns 918,310.94 ns 0.83 0.03 151.3672 151.3672 151.3672 4000071 B 1.00
MapFloat Map,Float 100 122.99 ns 2.311 ns 2.048 ns 123.27 ns 1.00 0.02 0.0656 - - 824 B 1.00
MapSIMDFloat Map,Float 100 78.52 ns 0.732 ns 0.649 ns 78.31 ns 0.64 0.01 0.0656 - - 824 B 1.00
MapFloat Map,Float 1000 979.24 ns 6.953 ns 6.164 ns 981.60 ns 1.00 0.01 0.6390 - - 8024 B 1.00
MapSIMDFloat Map,Float 1000 778.92 ns 11.049 ns 9.795 ns 774.79 ns 0.80 0.01 0.6390 - - 8024 B 1.00
MapFloat Map,Float 1000000 1,819,588.50 ns 35,739.792 ns 29,844.345 ns 1,810,166.61 ns 1.00 0.02 246.0938 246.0938 246.0938 8000101 B 1.00
MapSIMDFloat Map,Float 1000000 1,822,265.23 ns 34,586.561 ns 38,442.871 ns 1,804,176.95 ns 1.00 0.03 246.0938 246.0938 246.0938 8000101 B 1.00
Map Map,Int 100 97.39 ns 2.057 ns 2.368 ns 96.23 ns 1.00 0.03 0.0337 - - 424 B 1.00
MapSIMD Map,Int 100 59.75 ns 1.830 ns 5.396 ns 58.94 ns 0.61 0.06 0.0337 - - 424 B 1.00
Map Map,Int 1000 794.11 ns 23.606 ns 69.232 ns 797.19 ns 1.01 0.12 0.3204 - - 4024 B 1.00
MapSIMD Map,Int 1000 402.28 ns 2.366 ns 2.098 ns 401.42 ns 0.51 0.04 0.3204 - - 4024 B 1.00
Map Map,Int 1000000 1,453,586.97 ns 56,498.921 ns 165,701.568 ns 1,457,653.54 ns 1.01 0.16 148.4375 148.4375 148.4375 4000070 B 1.00
MapSIMD Map,Int 1000000 1,353,349.96 ns 64,372.760 ns 189,804.550 ns 1,364,140.75 ns 0.94 0.17 148.4375 148.4375 148.4375 4000070 B 1.00
MaxBy MaxBy 100 78.67 ns 1.831 ns 5.370 ns 77.29 ns 1.00 0.09 - - - - NA
MaxBySIMD MaxBy 100 33.37 ns 0.803 ns 2.343 ns 32.87 ns 0.43 0.04 - - - - NA
MaxBy MaxBy 1000 589.82 ns 12.452 ns 35.928 ns 582.50 ns 1.00 0.08 - - - - NA
MaxBySIMD MaxBy 1000 308.74 ns 6.240 ns 17.083 ns 303.48 ns 0.53 0.04 - - - - NA
MaxBy MaxBy 1000000 524,116.61 ns 12,577.197 ns 36,886.744 ns 518,897.07 ns 1.00 0.10 - - - - NA
MaxBySIMD MaxBy 1000000 302,622.55 ns 5,960.653 ns 16,909.381 ns 298,321.94 ns 0.58 0.05 - - - - NA
MaxFloat Max,Float 100 96.59 ns 1.983 ns 4.902 ns 97.27 ns 1.00 0.07 - - - - NA
MaxSIMDFloat Max,Float 100 113.60 ns 2.367 ns 4.887 ns 113.97 ns 1.18 0.08 - - - - NA
MaxFloat Max,Float 1000 798.83 ns 15.952 ns 15.667 ns 803.09 ns 1.00 0.03 - - - - NA
MaxSIMDFloat Max,Float 1000 1,551.33 ns 30.575 ns 76.707 ns 1,545.76 ns 1.94 0.10 - - - - NA
MaxFloat Max,Float 1000000 774,885.48 ns 15,382.296 ns 37,733.037 ns 769,378.74 ns 1.00 0.07 - - - - NA
MaxSIMDFloat Max,Float 1000000 1,629,678.62 ns 32,505.596 ns 67,129.697 ns 1,622,732.40 ns 2.11 0.13 - - - - NA
Max Max,Int 100 74.20 ns 1.559 ns 4.372 ns 73.64 ns 1.00 0.08 - - - - NA
MaxSIMD Max,Int 100 17.16 ns 0.389 ns 0.399 ns 17.16 ns 0.23 0.01 - - - - NA
Max Max,Int 1000 401.45 ns 8.062 ns 19.471 ns 401.65 ns 1.00 0.07 - - - - NA
MaxSIMD Max,Int 1000 104.75 ns 2.151 ns 3.711 ns 103.86 ns 0.26 0.02 - - - - NA
Max Max,Int 1000000 365,531.55 ns 6,284.174 ns 5,247.570 ns 365,632.89 ns 1.00 0.02 - - - - NA
MaxSIMD Max,Int 1000000 118,466.10 ns 2,149.660 ns 3,650.287 ns 118,152.09 ns 0.32 0.01 - - - - NA
Min Min 100 36.55 ns 1.652 ns 4.871 ns 35.33 ns 1.02 0.19 - - - - NA
MinSIMD Min 100 15.96 ns 0.251 ns 0.235 ns 15.90 ns 0.44 0.06 - - - - NA
Min Min 1000 302.87 ns 4.703 ns 4.169 ns 301.32 ns 1.00 0.02 - - - - NA
MinSIMD Min 1000 78.98 ns 1.611 ns 1.654 ns 78.96 ns 0.26 0.01 - - - - NA
Min Min 1000000 283,944.78 ns 5,500.734 ns 6,334.653 ns 283,611.51 ns 1.00 0.03 - - - - NA
MinSIMD Min 1000000 89,785.75 ns 1,761.581 ns 1,561.595 ns 90,094.88 ns 0.32 0.01 - - - - NA
MinBy MinBy 100 33.07 ns 0.681 ns 0.603 ns 32.81 ns 1.00 0.02 - - - - NA
MinBySIMD MinBy 100 19.11 ns 0.339 ns 0.283 ns 19.01 ns 0.58 0.01 - - - - NA
MinBy MinBy 1000 367.12 ns 3.518 ns 6.608 ns 365.25 ns 1.00 0.02 - - - - NA
MinBySIMD MinBy 1000 138.47 ns 0.440 ns 0.343 ns 138.41 ns 0.38 0.01 - - - - NA
MinBy MinBy 1000000 359,012.63 ns 2,223.267 ns 1,970.868 ns 358,859.72 ns 1.00 0.01 - - - - NA
MinBySIMD MinBy 1000000 132,303.59 ns 2,031.152 ns 1,899.941 ns 132,382.49 ns 0.37 0.01 - - - - NA
Partition Partition 100 167.36 ns 3.420 ns 6.168 ns 165.63 ns 1.00 0.05 0.0739 - - 928 B 1.00
PartitionPerformance Partition 100 137.05 ns 2.687 ns 2.875 ns 135.81 ns 0.82 0.03 0.0720 - - 904 B 0.97
Partition Partition 1000 1,363.08 ns 20.646 ns 16.119 ns 1,368.10 ns 1.00 0.02 0.6466 0.0095 - 8128 B 1.00
PartitionPerformance Partition 1000 1,018.85 ns 20.465 ns 24.363 ns 1,013.34 ns 0.75 0.02 0.6447 0.0076 - 8104 B 1.00
Partition Partition 1000000 6,082,945.27 ns 109,504.394 ns 97,072.793 ns 6,070,788.70 ns 1.00 0.02 234.3750 234.3750 234.3750 8000209 B 1.00
PartitionPerformance Partition 1000000 5,087,587.61 ns 38,431.343 ns 32,091.912 ns 5,092,192.66 ns 0.84 0.01 234.3750 234.3750 234.3750 8000185 B 1.00