Lookup 0

This benchmark is designed to test the lookup performance of each container. One small object is resolved from the container along with 0 dummy registrations that are located at warmup time. 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
AutofacClr1465.01464.61466.300.6240.161001808
Castle WindsorClr6126.86126.06162.2017.4824.514001856
DryIocClr25.625.625.600.0010.0000056
GraceClr22.522.522.500.0030.0010056
LightInjectClr25.225.225.200.0030.0010056
Microsoft Dependency InjectionClr133.6133.6133.610.0030.0010056
NInjectClr11703.911751.311949.50184.08349.19833005890
Simple InjectorClr52.052.052.000.0170.0040056
StructureMapClr1772.81772.91773.200.2860.074001984
AutofacCore1798.81798.91799.900.6630.171001808
Castle WindsorCore9913.39912.59929.209.4892.450002696
DryIocCore26.526.526.500.0030.0010056
GraceCore21.521.521.500.0020.0010056
LightInjectCore26.926.926.910.0020.0000056
Microsoft Dependency InjectionCore117.9117.9117.900.0210.0050056
NInjectCore15024.615025.915317.40206.14957.17531725722
Simple InjectorCore39.739.739.800.0210.0060056
StructureMapCore2098.32098.32099.510.4800.128001984
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