BenchmarkDotNet v0.13.12, Windows 10 (10.0.17763.5576/1809/October2018Update/Redstone5) (Hyper-V)
Intel Xeon CPU E5-2697 v3 2.60GHz, 1 CPU, 2 logical cores and 1 physical core
.NET SDK 8.0.300
  [Host]     : .NET 8.0.5 (8.0.524.21615), X64 RyuJIT AVX2
  Job-HREMZH : .NET 8.0.5 (8.0.524.21615), X64 RyuJIT AVX2

InvocationCount=10000000  RunStrategy=Throughput  
Method SimpleDecorate Mean Error StdDev Median Gen0 Allocated
ViaCreateInstance False 37.64 ns 0.797 ns 0.746 ns 37.55 ns 0.0061 112 B
ViaGetOrCreateInstance False 59.85 ns 3.786 ns 11.162 ns 65.52 ns 0.0061 112 B
ViaCreateInstance True 11.37 ns 0.297 ns 0.677 ns 11.21 ns 0.0013 24 B
ViaGetOrCreateInstance True 12.55 ns 0.264 ns 0.234 ns 12.48 ns 0.0013 24 B
In This Article
Back to top Generated by DocFX