Loose coupling is wonderful of course, but I have often wondered what overhead wiring up dynamically using an IoC container (for example Castle Windsor) has over a tightly coupl
There is links about performance
http://realfiction.net/?q=node/143
There is a results
But as you can see the Windsor isnt the fastest IoC (Autofac much faster)
The correct answer is, the performance doesn't matter :).
Because the correct using of IoC ,when all registering process is at initializing stage.
In other words the using of IoC must reducing the count of your "if else" in real-time.