C++ Team Blog

C++ tutorials, C and C++ news, and information about Visual Studio, Visual Studio Code, and Vcpkg from the Microsoft C++ team.

VS2022 Performance Enhancements: Faster C++ Development

Introduction Building on top of our performance wins in earlier releases of VS2022, we are excited to announce additional improvements in Visual Studio 2022 17.3! Whether you are a game developer, work with large codebases, or have a small C++ project, your C++ development experience in Visual Studio 17.3 will feel even faster! In this ...

2x-3x Performance Improvements for Debug Builds

We have made substantial runtime performance improvements in the x86/x64 C++ compiler for Visual Studio's default debug configuration. For Visual Studio 2019 version 16.10 Preview 2, we measure 2x - 3x speedup for programs compiled in debug mode. These improvements come from reducing the overhead introduced by runtime checks (/...

MSVC code optimizer improvements in Visual Studio 2017 versions 15.5 and 15.3

In this post, we’d like to give you an update on the significant progress the Visual C++ code optimizer made in the past year, focused mostly on the features released in the 15.3 and 15.5 versions. Compared to VS2015 Update 3, VS2017 15.5 provides on average an 8.9% increase in runtime speed in the SPEC 2017 benchmark (for detailed numbers ...

Native Memory Diagnostic Tools for Visual Studio “14” CTP

In Update 2 for Visual Studio 2013, memory diagnostic tools were added for Windows Store and Windows Phone that enable developers to monitor live memory consumption and take heap snapshots of their applications for further analysis.  The Visual Studio team is extending the existing tools to work for Windows Desktop applications in the ...
Comments are closed.0 0
C++

Native Memory Diagnostic Tools for Visual Studio “14” CTP

In Update 2 for Visual Studio 2013, memory diagnostic tools were added for Windows Store and Windows Phone that enable developers to monitor live memory consumption and take heap snapshots of their applications for further analysis.  The Visual Studio team is extending the existing tools to work for Windows Desktop applications in the ...
Comments are closed.0 0
C++

Performance++ with Visual C++ 2013

For Visual Studio 2013 we have continued to improve the analysis performed by the Visual C++ compiler so it can produce code that runs faster than before. In this blog we highlight some of the many improvements that Visual Studio 2013 has in store for you. This blog is intended to provide you an overview on all the goodies we have added ...
Comments are closed.0 0
C++

Optimizing C++ Code : Dead Code Elimination

 If you have arrived in the middle of this blog series, you might want instead to begin at the beginning.This post examines the optimization called Dead-Code-Elimination, which I’ll abbreviate to DCE.  It does what it says: discards any calculations whose results are not actually used by the program.Now, you will probably ...
Comments are closed.0 0
C++

C++ IDE Performance Improvement in Visual Studio 2013 Preview

My name is Li Shao. I am a Senior Software Design Engineer in Test on the VC++ team. In this blog, I would like to share the performance enhancements we've made in VS 2013 Preview to improve the C++ IDE and build system. Performance is a vital part of software quality. Over the last couple of releases we have made significant performance ...
Comments are closed.0 0
C++

Using the 2013 CPU Sampling Profiler to Understand C++ Compiler Optimizations

If you’ve ever profiled an optimized build of a C++ application there is a good chance that you looked at the profiling report and saw some functions missing that you expected to be present so you had to assume that they had been inlined but couldn’t be certain. Likewise, if you’ve ever tried to improve your application&rsquo...
Comments are closed.0 0
C++

Feedback usabilla icon