BenchmarkDotNet v0.13.11, Windows 10 (10.0.17763.5122/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.100
[Host] : .NET 7.0.12 (7.0.1223.47720), X64 RyuJIT AVX2
Job-LLJKJU : .NET 7.0.12 (7.0.1223.47720), X64 RyuJIT AVX2
InvocationCount=10000000 RunStrategy=Throughput
Method |
Mean |
Error |
StdDev |
Ratio |
RatioSD |
Gen0 |
Allocated |
Alloc Ratio |
InstantiateDirectly |
34.03 ns |
0.721 ns |
1.011 ns |
1.00 |
0.00 |
0.0074 |
136 B |
1.00 |
ViaActivator_Regular |
48.16 ns |
1.037 ns |
1.674 ns |
1.42 |
0.07 |
0.0091 |
168 B |
1.24 |
ViaActivator |
27.02 ns |
0.621 ns |
0.763 ns |
0.79 |
0.03 |
0.0048 |
88 B |
0.65 |