danielpalme/IocPerformance — pull request #45 by dotnetjunkie (2014-03-29 19:33:25+00:00)
Title: Improved the benchmark by preventing leaks.

Improved the benchmark by ensuring that all separate tests for a single container don't influence each other. They got influenced by 'leaking' garbage into the other tests. This for instance triggered garbage collects on the singleton tests, while the singleton resolve should normally not cause any garbage. This made resolving a singleton look slower, while the resolve that was actually caused the garbage looked faster than it in reality was.