November 12th, 2025
0 reactions

Optimize Your C++ Build Times with GitHub Copilot

David Li
Game Dev Product Manager

Long build times are one of the top pain points for C++ projects. If you’ve ever waited too long for a C++ build to finish, you know how much it can slow down your productivity. In past years, we introduced C++ Build Insights to help you analyze traces and find bottlenecks. However, we know that embarking on these investigations manually can still take time and effort.

To make this experience easier for C++ developers, we’re excited to announce that GitHub Copilot build performance for Windows is now available in Private Preview with the latest version of Visual Studio 2026 Insiders.

New GitHub Copilot Capabilities

When you use this new capability in Visual Studio, GitHub Copilot will use an agent to:

  1. Kick off a build and capture a trace for you
  2. Identify expensive headers and other bottlenecks
  3. Suggest and apply optimizations like precompiled headers
  4. Validate changes through rebuilds so your code stays correct
  5. Show you measurable improvements and recommend next steps

Instead of spending time manually optimizing your build, you can let the new GitHub Copilot build performance capability handle the heavy lifting while you focus on writing code.

a screenshot of github copilot chat using the new build performance capabilities

To see how it works in action, please watch our demo below.

Try it now in Private Preview

GitHub Copilot build performance for Windows is available today in Private Preview for Visual Studio 2026 Insiders. To try it out, join the Private Preview waitlist today. We’re looking forward to your feedback to make this experience even better.

Author

David Li
Game Dev Product Manager

I am a video game developer focused PM on the Visual C++ Team. Talk to me about video games!

0 comments