Performance Improvements

If you have a test assembly with a lot of unit tests, you should see some pretty dramatic performance improvements with the latest build. I have to thank Grant Drake, from some excellent feedback and repros.

It turns out that the Assembly.GetName() method is very slow. I had a quick go using the Ants Profiler and could see the problem almost immediately. It looks like there may be some uncached assembly resolving going on during the call to Assembly.GetName(). I should have taken the fact that it's a method rather than a property as a hint that it might be slow.

4 Comments

Comments have been disabled for this content.