Microsoft today announced the release of Visual Studio “15” Preview 5 with great improvements in performance. Loading the solution for the entire .NET Compiler Platform “Roslyn” takes 30 seconds with Visual Studio ‘15’ compared to 60 seconds with Visual Studio 2015.
Key performance improvements included:
- Shorter solution load time with lightweight project load: Working on solutions that contain upwards of 100 projects doesn’t mean you need to work with all the files or projects at a given time. VS “15” provides editing and debugging functionality without waiting for Visual Studio to load every project. You can try out this capability with managed projects in Preview 5 by turning on “Lightweight Solution Load” from Tools -> Options -> Projects and Solutions.
- Faster startup with on-demand loading of extensions: The idea is simple: load extensions when they’re needed, rather than when VS starts. In Preview 5 we started this effort by moving our Python and Xamarin extensions to load on demand and are working on moving all extensions we ship with Visual Studio and extensions shipped by third party extension vendors to this model. Curious about which extensions impact startup, solution load, and typing performance? You can see this information in Help -> Manage Visual Studio Performance. Do you develop an extension? We will be publishing guidance to help extension developers move to on-demand loading.
- Faster project load, coding, and debugging for C++: We have made loading C++ projects faster. Check out this video showing the improvement. You can enable this by setting “Enable Faster Project Load” to True from Tools -> Options -> Text Editor -> C/C++ -> Experimental. We have also made improvements to our linker and PDB loading libraries to make incremental builds and launching the debugger much faster while significantly reducing memory consumption while debugging.
- Improved speed of Git source control operations by using git.exe: We have improved debugging performance by optimizing initialization and other costs related to IntelliTrace and the Diagnostic Tools window, and removed several delays that occur when editing and switching between XAML files.
Apart from the performance improvements, this release also includes other feature improvements like new language extensions, IntelliSense filtering support in C#, VB and C++, more Quick Actions and Refactorings for C# and Visual Basic, and more. Find the full list of features included in this release here.