Skip to content

Instantly share code, notes, and snippets.

@lucascebertin
Created June 29, 2017 14:16
Show Gist options
  • Select an option

  • Save lucascebertin/cf4f5f84dbf58509072e1fe75dea63f6 to your computer and use it in GitHub Desktop.

Select an option

Save lucascebertin/cf4f5f84dbf58509072e1fe75dea63f6 to your computer and use it in GitHub Desktop.
Source
https://bitbucket.org/dadhi/dryioc
Containers comparison
http://www.palmmedia.de/blog/2011/8/30/ioc-container-benchmark-performance-comparison
https://github.com/danielpalme/IocPerformance/blob/master/IocPerformance/Adapters/DryIocAdapter.cs
single-threaded (in ms)
------------------------
Singleton: 29
Transient: 38
Combined: 55
Complex: 62
Property: 82
Generics: 50
IEnumerable: 259
Conditional: 56
Child Container: -
Asp Net Core: -
Interception With Proxy: 766
Prepare And Register: 78
Prepare And Register And Simple Resolve: 252
multi-threaded (in ms)
------------------------
Singleton: 42
Transient: 63
Combined: 80
Complex: 70
Property: 92
Generics: 84
IEnumerable: 184
Conditional: 66
Child Container: -
Asp Net Core: -
Interception With Proxy: 502
Prepare And Register: 78
Prepare And Register And Simple Resolve: 252
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment