Contents tagged with Performance
-
Tip #109 Did you know … How to speed up build time by *only* building the currently selected project in a multi-project solution?
When working with a solution that contains numerous projects, I find myself often wanting to only build and run the currently selected project. Other projects in the solution might have build errors that I don’t want to resolve at the current time. By default though, trying to do a CTRL+F5 on the currently selected project will cause Visual Studio (VS) to build all of the projects in a solution.
-
Tip #107 Did you know … How to improve debugging performance for MVC2 application in Visual Studio 2010 Ultimate?
VS2010 Ultimate included IntelliTrace functionality by default. IntelliTrace captures events (e.g. exceptions), and can affect performance of debugging. The typical performance hit is about 5% in the default mode (collection can be increased to collect method calls and parameters which can have up to a 15x hit). However this is completely dependent on what events and how many are occurring. For example, the MVC2 framework uses exceptions for control flow (hundreds can occur when loading a web page), and so launching an MVC app with IntelliTrace enabled runs significantly slower because a call stack is captured for every exception.