BenchmarkDotNet=v0.12.1, OS=Windows 10.0.17763.5122 (1809/October2018Update/Redstone5)
Intel Xeon CPU E5-2697 v3 2.60GHz, 1 CPU, 2 logical cores and 1 physical core
.NET Core SDK=8.0.100
[Host] : .NET Core 8.0.0 (CoreCLR 8.0.23.53103, CoreFX 8.0.23.53103), X64 RyuJIT
Job-SMBFNT : .NET Core 8.0.0 (CoreCLR 8.0.23.53103, CoreFX 8.0.23.53103), X64 RyuJIT
InvocationCount=5000000 RunStrategy=Throughput
Method |
Mean |
Error |
StdDev |
Median |
Ratio |
RatioSD |
Gen 0 |
Gen 1 |
Gen 2 |
Allocated |
NoDuck |
4.002 ns |
0.0700 ns |
0.0886 ns |
3.962 ns |
1.00 |
0.00 |
- |
- |
- |
- |
Duck |
4.542 ns |
0.2113 ns |
0.6131 ns |
4.179 ns |
1.34 |
0.07 |
- |
- |
- |
- |