BenchmarkDotNet=v0.10.3.0, OS=Microsoft Windows 10.0.14393
Processor=Intel(R) Xeon(R) CPU E5-1650 v3 3.50GHz, ProcessorCount=12
Frequency=3410069 Hz, Resolution=293.2492 ns, Timer=TSC
dotnet cli version=1.0.1
[Host] : .NET Core 4.6.25009.03, 64bit RyuJIT
DefaultJob : .NET Core 4.6.25009.03, 64bit RyuJIT
Method |
Mean |
StdDev |
Gen 0 |
Allocated |
CountAsync |
90.1756 ns |
0.8802 ns |
0.0154 |
136 B |
CountAsyncValueTask |
97.2691 ns |
0.8378 ns |
0.0037 |
64 B |
CountAsyncValueTaskLocalFunction |
58.7156 ns |
0.6790 ns |
0.0118 |
96 B |
CountAsyncValueTaskLocalFunctionNoCapture |
46.9273 ns |
0.5879 ns |
0.0068 |
64 B |
CountAsyncValueTaskMultipleFunctions |
45.3743 ns |
0.4451 ns |
0.0069 |
64 B |