Visual Studio '15' Preview 5 Goes Live Brings Performance and Memory Efficiency

Preview 5 should work side by side with previous versions of VS, but you must remove any previous VS "15" Preview installations before beginning the setup process.

Share online:

The fifth Preview build of Visual Studio '15', focus mostly on performance improvements, and memory efficiency.

"The faster load time is a result of a couple of the improvements we've made – lightweight project load and on-demand loading of extensions," writes John Montgomery.

Apart from other, CMake is getting support in Visual Studio with this release as well.

If you new, "CMake is a cross-platform open-source tool for managing build processes across multiple platforms by abstracting away native build environments and compilers. CMake interprets a CMake script the user authors and generates a build plan in a build environment of choice (e.g. in Visual studio projects, make scripts, Xcode projects, etc.)."

Also, with Preview 5, the value of the built-in preprocessor macro _MSC_VER at every Visual C++ toolset updates.

Here are some key performance gains in Preview 5:

  • Shorter solution load time with lightweight without every project load: VS "15" let you start editing and debugging without waiting to load every project. With managed projects in Preview 5, just turn on "Lightweight Solution Load" from Tools -> Options -> Projects and Solutions.
  • Faster startup with on-demand loading of extensions rather than when VS starts. In Preview 5, 'Python and Xamarin extensions" are moved to load on demand, and in the ship release all third-party extensions will be made to load this way.
  • Moving momory-intensive tasks such as as Git Source Control, and JavaScript and TypeScript language services from the main VS process to separate processes. This saves you from sluggishness and even crashes of the main process as it approaches 4GB memory limit of 32-bit processes. Additionally, more components will be moved out-of-process in coming releases.
  • Faster project load, coding, and debugging for C++: We have made loading C++ projects faster. You can enable this feature by setting "Enable Faster Project Load" to True from Tools -> Options -> Text Editor -> C/C++ -> Experimental.
  • Additonally, improvements to linker and PDB loading libraries make incremental builds and debugger launching much faster, while also "significantly reducing memory consumption while debugging."
  • Improved speed of Git source control operations by using git.exe: improvements to debugging performance by optimizing initialization and other costs related to IntelliTrace and Diagnostic Tools window," and also "removed several delays that occur when editing and switching between XAML files," explains team.

Visual Studio 15 Preview 5

Below you can find highlights for C++ developers:

  • Faster project load, coding, and debugging for C++.
  • C++ Core Checkers for enforcing the C++ Core Guidelines are now distributed with Visual Studio.
  • Enhanced support for C++11 and C++14 features, as well as preliminary support for certain features expected to be in the C++17 standard, as well as complete support for generalized constexpr.
  • Improvements, fixes and additions to Standard Template Library.
  • Enhanced C++ code generation of loops and C++ code security.
  • IntelliSense Filters and Experimental C++ Predictive IntelliSense pare another way to narrow down the results in the list by specific kinds.
  • Navigate To (now known as Go To) and Find All References have been overhauled to improve the code navigation experience
  • popular extension Visual C++ for Linux Development is now part of Visual Studio.
  • C++ support in "Open Folder" as well as proof-of-concept CMake support.