// * Summary *
BenchmarkDotNet=v0.13.1, OS=Windows 10.0.19043.1348 (21H1/May2021Update) 11th Gen Intel Core i5-11600K 3.90GHz, 1 CPU, 12 logical and 6 physical cores .NET SDK=6.0.100 [Host] : .NET 6.0.0 (6.0.21.52210), X64 RyuJIT DefaultJob : .NET 6.0.0 (6.0.21.52210), X64 RyuJIT
Method | Mean | Error | StdDev | Ratio | RatioSD | Allocated |
---|---|---|---|---|---|---|
Uncached | 108,480,368.000 ns | 526,869.7917 ns | 492,834.3301 ns | 52,451,633.25 | 215,509.29 | 728 B |
CachedThroughField | 2.067 ns | 0.0047 ns | 0.0040 ns | 1.00 | 0.00 | - |
CachedThroughLazy | 1.552 ns | 0.0075 ns | 0.0070 ns | 0.75 | 0.00 | - |
CachedThroughWeakReference | 28.001 ns | 0.1384 ns | 0.1295 ns | 13.54 | 0.07 | - |
// * Hints * Outliers Benchmarks.CachedThroughField: Default -> 2 outliers were removed (2.09 ns, 2.10 ns)
// * Legends * Mean : Arithmetic mean of all measurements Error : Half of 99.9% confidence interval StdDev : Standard deviation of all measurements Ratio : Mean of the ratio distribution ([Current]/[Baseline]) RatioSD : Standard deviation of the ratio distribution ([Current]/[Baseline]) Allocated : Allocated memory per single operation (managed only, inclusive, 1KB = 1024B) 1 ns : 1 Nanosecond (0.000000001 sec)