Skip to content

Latest commit

 

History

History
39 lines (36 loc) · 5.23 KB

dotNetTips.Utility.Benchmarks.Extensions.StringExtensionsPerfTestRunner-report-github.md

File metadata and controls

39 lines (36 loc) · 5.23 KB
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19041.388 (2004/?/20H1)
Unknown processor
.NET Core SDK=3.1.400
  [Host]     : .NET Core 3.1.6 (CoreCLR 4.700.20.26901, CoreFX 4.700.20.31603), X64 RyuJIT
  Job-GUNMTB : .NET Core 3.1.6 (CoreCLR 4.700.20.26901, CoreFX 4.700.20.31603), X64 RyuJIT

EvaluateOverhead=True  Server=True  Toolchain=.NET Core 3.0  
Categories=StringExtensions  
Method Mean Error StdDev Median Gen 0 Gen 1 Gen 2 Allocated
ComputeSha256Hash 6,231.416 ns 11.8019 ns 10.4621 ns 6,231.897 ns 0.2899 - - 2760 B
Concat 559.182 ns 3.0727 ns 2.7239 ns 558.171 ns 0.6456 0.0057 - 6064 B
ContainsAny 62.674 ns 0.1766 ns 0.1475 ns 62.714 ns 0.0169 - - 160 B
DefaultIfNull 1.654 ns 0.0405 ns 0.0359 ns 1.642 ns - - - -
DefaultIfNullOrEmpty 2.099 ns 0.0132 ns 0.0117 ns 2.098 ns - - - -
EqualsIgnoreCase 438.217 ns 0.5304 ns 0.4429 ns 438.149 ns 0.0277 - - 264 B
EqualsOrBothNullOrEmpty 440.832 ns 0.4365 ns 0.3408 ns 440.822 ns 0.0281 - - 264 B
HasValue 7.107 ns 0.0218 ns 0.0182 ns 7.111 ns - - - -
Indent 432.238 ns 2.1861 ns 2.0449 ns 432.017 ns 0.4368 0.0029 - 4088 B
IsAsciiLetter 23.337 ns 0.2396 ns 0.2241 ns 23.409 ns - - - -
IsAsciiLetterOrDigit 23.551 ns 0.1269 ns 0.1060 ns 23.579 ns - - - -
IsWhitespace:Char 23.123 ns 0.0326 ns 0.0254 ns 23.124 ns - - - -
IsWhitespace:String 17.503 ns 0.0646 ns 0.0573 ns 17.501 ns - - - -
'Split:Char Separator' 216.608 ns 0.6407 ns 0.5679 ns 216.512 ns 0.0522 - - 496 B
'Split:Char Separator-Count' 123.325 ns 2.4726 ns 3.4662 ns 125.310 ns 0.0260 - - 248 B
'Split:Char Separator-Count-RemoveEmptyEntries' 156.611 ns 2.9643 ns 2.6278 ns 156.472 ns 0.0269 - - 256 B
'Split:Char Separator-RemoveEmptyEntries' 234.744 ns 1.5670 ns 1.4658 ns 234.909 ns 0.0536 - - 504 B
'Split:String Separator' 302.757 ns 3.0235 ns 2.5247 ns 303.636 ns 0.0529 - - 496 B
'Split:String Separator-Count' 183.168 ns 2.2421 ns 2.0972 ns 181.865 ns 0.0272 - - 256 B
'Split:String Separator-Count-RemoveEmptyEntries' 154.332 ns 0.3627 ns 0.3029 ns 154.366 ns 0.0262 - - 248 B
'Split:String Separator-RemoveEmptyEntries' 269.162 ns 1.6933 ns 1.5011 ns 269.417 ns 0.0515 - - 488 B
StartsWithOrdinal 447.457 ns 0.6067 ns 0.5066 ns 447.585 ns 0.0277 - - 264 B
StartsWithOrdinalIgnoreCase 462.014 ns 0.6013 ns 0.5330 ns 461.916 ns 0.0277 - - 264 B
SubstringTrim 2,624.620 ns 4.9995 ns 4.1748 ns 2,623.400 ns 0.0572 - - 568 B
ToTrimmed 401.459 ns 3.7163 ns 3.4763 ns 401.930 ns 0.4172 0.0014 - 3944 B