IEnumerable

This benchmark registers 5 small objects then resolves them as an IEnumerable(T). 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
AutofacClr11489.811490.011497.205.2181.395009968
DryIocClr316.7316.7316.800.0480.01200464
GraceClr290.1290.1290.100.0560.01500464
LightInjectClr287.9287.9287.910.0130.00400464
Microsoft Dependency InjectionClr425.0425.0425.000.0330.00900464
Simple InjectorClr137.1137.1137.100.0280.007000
StructureMapClr7707.57705.77722.807.4631.927004792
AutofacCore15160.615162.115178.8011.6943.125009808
DryIocCore203.9203.9204.000.0370.01000464
GraceCore213.2213.2213.200.0220.00600464
LightInjectCore207.1207.0207.200.0530.01400464
Microsoft Dependency InjectionCore229.0229.0229.100.0380.01000464
Simple InjectorCore116.9116.9117.000.0620.016000
StructureMapCore8555.48555.78563.806.4341.661004640
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