Improve performance of unity
According to various benchmarks unity is quite slow when comparing with other ioc containers like AutoFac, StructureMap or Castle Windsor. It would be nice if could you improve performance of unity container.
-
Dzmitry Lahoda commented
Let see what is on cloud side:
http://erlangonxen.org/ - very fast start of web services.
What we have in WCF - PerCall service. Joe's WCF service uses Unity to build graph. Slow downs each start when used. He can remove Unity or ->.
Or use make Unity with compile time feature. Almost zero performance overhead.
Really elastic cloud:) -
Dzmitry Lahoda commented
I hope Unity will be good for Desktop/Mobile client apps. From start up performance it could be could if unity can do wire during compilation. E.g. take unity configuration and generate code as build event (like serializes or T4). Or try F# (may be type providers) for F# only usage for starter.
-
Dzmitry Lahoda commented
These I found https://www.diigo.com/search?adSScope=my&what=Container%20Performance.
I hope palmmedia will update not only containers, but add different objects graphs. 1 year ago these were not realistic in my use case. -
Sławek commented
Here you have one benchmark: http://www.palmmedia.de/blog/2011/8/30/ioc-container-benchmark-performance-comparison
-
Which benchmarks? Please provide links.