Skip to content

Latest commit

 

History

History
159 lines (156 loc) · 16.1 KB

File metadata and controls

159 lines (156 loc) · 16.1 KB
BenchmarkDotNet=v0.13.1, OS=Windows 10.0.22000
AMD Ryzen 7 5800X, 1 CPU, 16 logical and 8 physical cores
.NET SDK=7.0.100-preview.4.22252.9
  [Host]     : .NET 7.0.0 (7.0.22.22904), X64 RyuJIT
  Job-FSKGDJ : .NET 7.0.0 (7.0.22.22904), X64 RyuJIT

MaxRelativeError=0.01  IterationTime=250.0000 ms  
Method StringLengthInChars Scenario Mean Error StdDev Ratio RatioSD
Original 8 AsciiOnly 4.255 ns 0.0135 ns 0.0126 ns 1.00 0.00
Encoding 8 AsciiOnly 7.971 ns 0.0296 ns 0.0247 ns 1.87 0.01
Long2 8 AsciiOnly 3.185 ns 0.0116 ns 0.0091 ns 0.75 0.00
Simd1 8 AsciiOnly 3.681 ns 0.0477 ns 0.0848 ns 0.85 0.02
SimdSSE 8 AsciiOnly 3.347 ns 0.0140 ns 0.0124 ns 0.79 0.00
Simd2 8 AsciiOnly 3.798 ns 0.0169 ns 0.0158 ns 0.89 0.00
Original 8 Mixed 13.123 ns 0.0437 ns 0.0388 ns 1.00 0.00
Encoding 8 Mixed 11.174 ns 0.0394 ns 0.0349 ns 0.85 0.00
Long2 8 Mixed 13.375 ns 0.0359 ns 0.0336 ns 1.02 0.00
Simd1 8 Mixed 13.416 ns 0.0295 ns 0.0276 ns 1.02 0.00
SimdSSE 8 Mixed 13.219 ns 0.0490 ns 0.0459 ns 1.01 0.01
Simd2 8 Mixed 13.465 ns 0.0534 ns 0.0499 ns 1.03 0.00
Original 8 OnlyNonAscii 17.244 ns 0.0577 ns 0.0540 ns 1.00 0.00
Encoding 8 OnlyNonAscii 14.058 ns 0.0330 ns 0.0308 ns 0.82 0.00
Long2 8 OnlyNonAscii 15.106 ns 0.0199 ns 0.0166 ns 0.88 0.00
Simd1 8 OnlyNonAscii 15.965 ns 0.0365 ns 0.0341 ns 0.93 0.00
SimdSSE 8 OnlyNonAscii 14.596 ns 0.0496 ns 0.0464 ns 0.85 0.00
Simd2 8 OnlyNonAscii 15.631 ns 0.0414 ns 0.0367 ns 0.91 0.00
Original 16 AsciiOnly 7.228 ns 0.0387 ns 0.0362 ns 1.00 0.00
Encoding 16 AsciiOnly 8.821 ns 0.0260 ns 0.0231 ns 1.22 0.01
Long2 16 AsciiOnly 4.002 ns 0.0147 ns 0.0130 ns 0.55 0.00
Simd1 16 AsciiOnly 3.970 ns 0.0126 ns 0.0118 ns 0.55 0.00
SimdSSE 16 AsciiOnly 3.550 ns 0.0069 ns 0.0058 ns 0.49 0.00
Simd2 16 AsciiOnly 3.553 ns 0.0117 ns 0.0104 ns 0.49 0.00
Original 16 Mixed 24.124 ns 0.0616 ns 0.0546 ns 1.00 0.00
Encoding 16 Mixed 14.873 ns 0.0276 ns 0.0245 ns 0.62 0.00
Long2 16 Mixed 16.687 ns 0.0364 ns 0.0323 ns 0.69 0.00
Simd1 16 Mixed 17.105 ns 0.0562 ns 0.0499 ns 0.71 0.00
SimdSSE 16 Mixed 16.608 ns 0.0874 ns 0.0730 ns 0.69 0.00
Simd2 16 Mixed 17.344 ns 0.0802 ns 0.0751 ns 0.72 0.00
Original 16 OnlyNonAscii 24.327 ns 0.1493 ns 0.1396 ns 1.00 0.00
Encoding 16 OnlyNonAscii 18.659 ns 0.0557 ns 0.0521 ns 0.77 0.00
Long2 16 OnlyNonAscii 20.359 ns 0.2145 ns 0.2385 ns 0.84 0.01
Simd1 16 OnlyNonAscii 20.506 ns 0.0393 ns 0.0349 ns 0.84 0.00
SimdSSE 16 OnlyNonAscii 18.709 ns 0.0396 ns 0.0351 ns 0.77 0.00
Simd2 16 OnlyNonAscii 20.523 ns 0.0523 ns 0.0489 ns 0.84 0.01
Original 30 AsciiOnly 10.419 ns 0.0615 ns 0.0575 ns 1.00 0.00
Encoding 30 AsciiOnly 10.308 ns 0.0243 ns 0.0215 ns 0.99 0.01
Long2 30 AsciiOnly 7.207 ns 0.0338 ns 0.0282 ns 0.69 0.01
Simd1 30 AsciiOnly 5.028 ns 0.0176 ns 0.0147 ns 0.48 0.00
SimdSSE 30 AsciiOnly 4.610 ns 0.0104 ns 0.0092 ns 0.44 0.00
Simd2 30 AsciiOnly 5.431 ns 0.0125 ns 0.0105 ns 0.52 0.00
Original 30 Mixed 28.225 ns 0.0761 ns 0.0675 ns 1.00 0.00
Encoding 30 Mixed 16.373 ns 0.0510 ns 0.0477 ns 0.58 0.00
Long2 30 Mixed 18.729 ns 0.0370 ns 0.0309 ns 0.66 0.00
Simd1 30 Mixed 18.907 ns 0.0318 ns 0.0282 ns 0.67 0.00
SimdSSE 30 Mixed 18.404 ns 0.0978 ns 0.0867 ns 0.65 0.00
Simd2 30 Mixed 19.343 ns 0.0550 ns 0.0460 ns 0.69 0.00
Original 30 OnlyNonAscii 37.418 ns 0.2292 ns 0.2144 ns 1.00 0.00
Encoding 30 OnlyNonAscii 27.376 ns 0.0423 ns 0.0330 ns 0.73 0.00
Long2 30 OnlyNonAscii 28.850 ns 0.0799 ns 0.0667 ns 0.77 0.01
Simd1 30 OnlyNonAscii 29.427 ns 0.2163 ns 0.1806 ns 0.79 0.01
SimdSSE 30 OnlyNonAscii 26.141 ns 0.0853 ns 0.0713 ns 0.70 0.01
Simd2 30 OnlyNonAscii 29.340 ns 0.1010 ns 0.0945 ns 0.78 0.00
Original 34 AsciiOnly 11.343 ns 0.0456 ns 0.0427 ns 1.00 0.00
Encoding 34 AsciiOnly 9.249 ns 0.0986 ns 0.0922 ns 0.82 0.01
Long2 34 AsciiOnly 7.532 ns 0.0430 ns 0.0402 ns 0.66 0.00
Simd1 34 AsciiOnly 5.033 ns 0.0112 ns 0.0099 ns 0.44 0.00
SimdSSE 34 AsciiOnly 4.416 ns 0.0112 ns 0.0094 ns 0.39 0.00
Simd2 34 AsciiOnly 4.193 ns 0.0193 ns 0.0180 ns 0.37 0.00
Original 34 Mixed 28.198 ns 0.2143 ns 0.1790 ns 1.00 0.00
Encoding 34 Mixed 17.832 ns 0.0324 ns 0.0271 ns 0.63 0.00
Long2 34 Mixed 18.956 ns 0.0359 ns 0.0336 ns 0.67 0.00
Simd1 34 Mixed 19.349 ns 0.0511 ns 0.0478 ns 0.69 0.00
SimdSSE 34 Mixed 19.149 ns 0.1696 ns 0.2082 ns 0.68 0.01
Simd2 34 Mixed 20.003 ns 0.1046 ns 0.0928 ns 0.71 0.01
Original 34 OnlyNonAscii 41.079 ns 0.4230 ns 0.4154 ns 1.00 0.00
Encoding 34 OnlyNonAscii 30.599 ns 0.3210 ns 0.3568 ns 0.75 0.01
Long2 34 OnlyNonAscii 31.787 ns 0.0907 ns 0.0757 ns 0.77 0.01
Simd1 34 OnlyNonAscii 32.169 ns 0.0558 ns 0.0466 ns 0.78 0.01
SimdSSE 34 OnlyNonAscii 28.925 ns 0.1658 ns 0.1470 ns 0.70 0.01
Simd2 34 OnlyNonAscii 32.223 ns 0.0872 ns 0.0728 ns 0.79 0.01
Original 50 AsciiOnly 17.709 ns 0.0427 ns 0.0378 ns 1.00 0.00
Encoding 50 AsciiOnly 10.058 ns 0.0275 ns 0.0258 ns 0.57 0.00
Long2 50 AsciiOnly 9.532 ns 0.0345 ns 0.0323 ns 0.54 0.00
Simd1 50 AsciiOnly 5.990 ns 0.0115 ns 0.0096 ns 0.34 0.00
SimdSSE 50 AsciiOnly 5.157 ns 0.0252 ns 0.0223 ns 0.29 0.00
Simd2 50 AsciiOnly 4.688 ns 0.0057 ns 0.0047 ns 0.26 0.00
Original 50 Mixed 42.303 ns 0.4249 ns 0.4173 ns 1.00 0.00
Encoding 50 Mixed 20.986 ns 0.0490 ns 0.0409 ns 0.50 0.01
Long2 50 Mixed 22.219 ns 0.0363 ns 0.0303 ns 0.53 0.01
Simd1 50 Mixed 22.629 ns 0.0665 ns 0.0622 ns 0.54 0.01
SimdSSE 50 Mixed 22.215 ns 0.0372 ns 0.0330 ns 0.53 0.01
Simd2 50 Mixed 22.911 ns 0.1082 ns 0.0959 ns 0.54 0.01
Original 50 OnlyNonAscii 53.199 ns 0.1513 ns 0.1341 ns 1.00 0.00
Encoding 50 OnlyNonAscii 40.552 ns 0.1473 ns 0.1378 ns 0.76 0.00
Long2 50 OnlyNonAscii 42.082 ns 0.1412 ns 0.1179 ns 0.79 0.00
Simd1 50 OnlyNonAscii 42.439 ns 0.0896 ns 0.0794 ns 0.80 0.00
SimdSSE 50 OnlyNonAscii 37.550 ns 0.1761 ns 0.1647 ns 0.71 0.00
Simd2 50 OnlyNonAscii 42.411 ns 0.0637 ns 0.0565 ns 0.80 0.00
Original 100 AsciiOnly 28.772 ns 0.1299 ns 0.1152 ns 1.00 0.00
Encoding 100 AsciiOnly 11.354 ns 0.0124 ns 0.0104 ns 0.39 0.00
Long2 100 AsciiOnly 14.640 ns 0.0508 ns 0.0451 ns 0.51 0.00
Simd1 100 AsciiOnly 9.061 ns 0.0327 ns 0.0290 ns 0.31 0.00
SimdSSE 100 AsciiOnly 7.657 ns 0.0181 ns 0.0161 ns 0.27 0.00
Simd2 100 AsciiOnly 6.194 ns 0.0095 ns 0.0080 ns 0.22 0.00
Original 100 Mixed 114.077 ns 0.8197 ns 0.7668 ns 1.00 0.00
Encoding 100 Mixed 35.569 ns 0.0355 ns 0.0315 ns 0.31 0.00
Long2 100 Mixed 37.778 ns 0.0837 ns 0.0699 ns 0.33 0.00
Simd1 100 Mixed 40.630 ns 0.0801 ns 0.0710 ns 0.36 0.00
SimdSSE 100 Mixed 36.922 ns 0.0510 ns 0.0398 ns 0.32 0.00
Simd2 100 Mixed 38.380 ns 0.0833 ns 0.0739 ns 0.34 0.00
Original 100 OnlyNonAscii 104.087 ns 0.3591 ns 0.3184 ns 1.00 0.00
Encoding 100 OnlyNonAscii 76.262 ns 0.5980 ns 0.5594 ns 0.73 0.01
Long2 100 OnlyNonAscii 77.628 ns 0.0803 ns 0.0671 ns 0.75 0.00
Simd1 100 OnlyNonAscii 78.262 ns 0.1379 ns 0.1151 ns 0.75 0.00
SimdSSE 100 OnlyNonAscii 68.233 ns 0.4599 ns 0.4302 ns 0.66 0.00
Simd2 100 OnlyNonAscii 77.977 ns 0.1651 ns 0.1464 ns 0.75 0.00
Original 170 AsciiOnly 44.357 ns 0.1999 ns 0.1670 ns 1.00 0.00
Encoding 170 AsciiOnly 12.437 ns 0.0284 ns 0.0222 ns 0.28 0.00
Long2 170 AsciiOnly 22.521 ns 0.0885 ns 0.0828 ns 0.51 0.00
Simd1 170 AsciiOnly 13.109 ns 0.0613 ns 0.0544 ns 0.30 0.00
SimdSSE 170 AsciiOnly 13.217 ns 0.1187 ns 0.1053 ns 0.30 0.00
Simd2 170 AsciiOnly 9.290 ns 0.0159 ns 0.0133 ns 0.21 0.00
Original 170 Mixed 152.470 ns 1.4489 ns 1.2844 ns 1.00 0.00
Encoding 170 Mixed 50.955 ns 0.0844 ns 0.0659 ns 0.33 0.00
Long2 170 Mixed 53.423 ns 0.0816 ns 0.0723 ns 0.35 0.00
Simd1 170 Mixed 54.373 ns 0.0765 ns 0.0639 ns 0.36 0.00
SimdSSE 170 Mixed 52.389 ns 0.1289 ns 0.1076 ns 0.34 0.00
Simd2 170 Mixed 54.189 ns 0.1646 ns 0.1459 ns 0.36 0.00
Original 170 OnlyNonAscii 163.987 ns 0.4899 ns 0.4343 ns 1.00 0.00
Encoding 170 OnlyNonAscii 121.331 ns 0.1443 ns 0.1127 ns 0.74 0.00
Long2 170 OnlyNonAscii 123.231 ns 0.5227 ns 0.4890 ns 0.75 0.00
Simd1 170 OnlyNonAscii 123.793 ns 0.2447 ns 0.2289 ns 0.75 0.00
SimdSSE 170 OnlyNonAscii 105.522 ns 0.5029 ns 0.4458 ns 0.64 0.00
Simd2 170 OnlyNonAscii 123.092 ns 0.1403 ns 0.1172 ns 0.75 0.00