зеркало из https://github.com/microsoft/PSRule.git
2.2 KiB
2.2 KiB
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
Intel Core i7-1065G7 CPU 1.30GHz, 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=3.1.403
[Host] : .NET Core 3.1.9 (CoreCLR 4.700.20.47201, CoreFX 4.700.20.47203), X64 RyuJIT
DefaultJob : .NET Core 3.1.9 (CoreCLR 4.700.20.47201, CoreFX 4.700.20.47203), X64 RyuJIT
Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|
Invoke | 40,804.1 μs | 656.89 μs | 614.45 μs | 3916.6667 | 500.0000 | - | 16124.02 KB |
InvokeIf | 42,768.8 μs | 843.79 μs | 704.61 μs | 4461.5385 | 76.9231 | - | 18374.92 KB |
InvokeType | 40,487.0 μs | 609.33 μs | 1,034.69 μs | 3923.0769 | 538.4615 | - | 16124.02 KB |
InvokeSummary | 40,403.1 μs | 806.53 μs | 714.97 μs | 3923.0769 | 538.4615 | - | 16124.26 KB |
Assert | 41,551.0 μs | 684.23 μs | 640.03 μs | 4000.0000 | 153.8462 | - | 16538.36 KB |
Get | 10,180.9 μs | 402.29 μs | 1,186.17 μs | 46.8750 | - | - | 231.12 KB |
GetHelp | 9,941.1 μs | 409.65 μs | 1,207.87 μs | 46.8750 | - | - | 229.52 KB |
Within | 75,818.3 μs | 1,504.74 μs | 2,297.90 μs | 7800.0000 | 600.0000 | - | 32468.28 KB |
WithinBulk | 112,731.0 μs | 1,239.66 μs | 1,035.17 μs | 14333.3333 | 666.6667 | - | 59496.35 KB |
WithinLike | 101,227.7 μs | 1,990.03 μs | 2,854.05 μs | 11333.3333 | - | - | 46623.62 KB |
DefaultTargetNameBinding | 654.3 μs | 10.46 μs | 9.78 μs | 38.0859 | - | - | 156.25 KB |
CustomTargetNameBinding | 854.3 μs | 16.30 μs | 15.25 μs | 85.9375 | - | - | 351.56 KB |
NestedTargetNameBinding | 945.7 μs | 18.78 μs | 19.29 μs | 85.9375 | - | - | 351.57 KB |
AssertHasFieldValue | 1,036.2 μs | 13.63 μs | 12.08 μs | 121.0938 | - | - | 500 KB |