BenchmarkDotNet v0.13.12, Windows 10 (10.0.17763.5576/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.300
[Host] : .NET 8.0.5 (8.0.524.21615), X64 RyuJIT AVX2
Job-HREMZH : .NET 8.0.5 (8.0.524.21615), X64 RyuJIT AVX2
InvocationCount=10000000 RunStrategy=Throughput
Method |
Mean |
Error |
StdDev |
Ratio |
RatioSD |
Gen0 |
Allocated |
Alloc Ratio |
InstantiateDirectly |
31.71 ns |
0.671 ns |
0.824 ns |
1.00 |
0.00 |
0.0074 |
136 B |
1.00 |
ViaActivator_Regular |
44.06 ns |
0.935 ns |
1.248 ns |
1.39 |
0.06 |
0.0091 |
168 B |
1.24 |
ViaActivator |
31.81 ns |
0.702 ns |
0.780 ns |
1.00 |
0.05 |
0.0061 |
112 B |
0.82 |