SingletonPerScope

This benchmark registers a small object as Singleton Per Scope then creates a scope and resolves the small object. 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
AutofacClr3155.13155.33156.901.0230.264003768
Castle WindsorClr15180.215178.715194.7011.7633.396003944
DryIocClr289.4289.4289.700.1730.04800696
GraceClr196.0196.0196.000.0160.00500376
LightInjectClr702.4702.4702.910.1660.04600752
Microsoft Dependency InjectionClr518.9518.9519.000.0700.01800432
StructureMapClr21897.321894.021992.2043.38211.20199014459
AutofacCore3929.83930.03931.801.5160.405003768
Castle WindsorCore23673.523675.723740.4032.4788.386005592
DryIocCore1949.41951.11959.806.2491.61300648
GraceCore218.6218.6218.700.0290.00800376
LightInjectCore848.4848.4848.800.1850.04800752
Microsoft Dependency InjectionCore611.3611.3611.300.0430.01100432
StructureMapCore25222.925196.725385.6067.43318.02290011707
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