Enumerable
The code can be found here.
Container | Env | Mean (ns) | Median (ns) | Max (ns) | Outliers | Std Dev (ns) | Std Err (ns) | Gen 1 | Gen 2 | Bytes Alloc |
---|---|---|---|---|---|---|---|---|---|---|
Autofac | Clr | 12790.2 | 12784.1 | 12843.6 | 0 | 20.314 | 5.245 | 0 | 0 | 10840 |
Castle Windsor | Clr | 42130.8 | 42124.3 | 42210.3 | 0 | 48.178 | 12.440 | 0 | 0 | 11920 |
DryIoc | Clr | 220.6 | 220.6 | 220.7 | 0 | 0.027 | 0.007 | 0 | 0 | 488 |
Grace | Clr | 212.4 | 212.4 | 212.5 | 0 | 0.047 | 0.012 | 0 | 0 | 488 |
LightInject | Clr | 216.0 | 215.9 | 216.2 | 0 | 0.114 | 0.029 | 0 | 0 | 488 |
Microsoft Dependency Injection | Clr | 351.4 | 351.4 | 351.5 | 2 | 0.017 | 0.005 | 0 | 0 | 488 |
NInject | Clr | 87825.4 | 88111.1 | 90249.2 | 0 | 1444.411 | 386.035 | 712 | 0 | 36022 |
Simple Injector | Clr | 164.0 | 164.0 | 164.1 | 0 | 0.015 | 0.004 | 0 | 0 | 24 |
StructureMap | Clr | 8769.3 | 8765.2 | 8804.0 | 0 | 17.059 | 4.405 | 0 | 0 | 5440 |
Autofac | Core | 17312.0 | 17314.4 | 17364.9 | 0 | 27.588 | 7.123 | 0 | 0 | 10680 |
Castle Windsor | Core | 69340.2 | 69332.6 | 69422.3 | 0 | 46.665 | 12.049 | 0 | 0 | 18056 |
DryIoc | Core | 196.0 | 196.0 | 196.1 | 0 | 0.067 | 0.017 | 0 | 0 | 488 |
Grace | Core | 194.2 | 194.2 | 194.3 | 0 | 0.021 | 0.005 | 0 | 0 | 488 |
LightInject | Core | 195.6 | 195.6 | 195.7 | 1 | 0.050 | 0.014 | 0 | 0 | 488 |
Microsoft Dependency Injection | Core | 223.8 | 223.8 | 223.8 | 0 | 0.017 | 0.004 | 0 | 0 | 488 |
NInject | Core | 103499.6 | 103883.0 | 105922.7 | 0 | 1564.285 | 418.073 | 240 | 0 | 35136 |
Simple Injector | Core | 134.4 | 134.4 | 134.4 | 2 | 0.011 | 0.003 | 0 | 0 | 24 |
StructureMap | Core | 10549.4 | 10546.0 | 10559.7 | 0 | 6.064 | 1.682 | 0 | 0 | 5288 |
Details
BenchmarkDotNet=v0.10.8, OS=Windows 10 Redstone 2 (10.0.15063)
Processor=Intel Core i7-3770 CPU 3.40GHz (Ivy Bridge), ProcessorCount=4
Frequency=3320336 Hz, Resolution=301.1743 ns, Timer=TSC
[Host] : Clr 4.0.30319.42000, 64bit RyuJIT-v4.7.2101.1
Clr : Clr 4.0.30319.42000, 64bit RyuJIT-v4.7.2101.1
Core : .NET Core 4.6.25211.01, 64bit RyuJIT