惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MongoDB | Blog
MongoDB | Blog
Recorded Future
Recorded Future
Jina AI
Jina AI
The Register - Security
The Register - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
F
Fortinet All Blogs
人人都是产品经理
人人都是产品经理
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
L
LangChain Blog
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
The GitHub Blog
The GitHub Blog
Vercel News
Vercel News
博客园 - 【当耐特】
雷峰网
雷峰网
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
I
InfoQ
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News
Security Latest
Security Latest
有赞技术团队
有赞技术团队
L
Lohrmann on Cybersecurity
P
Proofpoint News Feed
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
P
Privacy & Cybersecurity Law Blog
Scott Helme
Scott Helme
Google Online Security Blog
Google Online Security Blog
WordPress大学
WordPress大学
Hacker News - Newest:
Hacker News - Newest: "LLM"
NISL@THU
NISL@THU
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
B
Blog RSS Feed
Cyberwarzone
Cyberwarzone
K
Kaspersky official blog
F
Full Disclosure
Martin Fowler
Martin Fowler
Spread Privacy
Spread Privacy
D
Docker
C
Cisco Blogs
www.infosecurity-magazine.com
www.infosecurity-magazine.com
H
Hacker News: Front Page

C++ Team Blog

Pure Virtual C++ 2026 Is a Wrap - C++ Team Blog Pure Virtual C++ 2026 Is Now Live! - C++ Team Blog C++ Dependencies Without the Headache: vcpkg + Copilot CLI - C++ Team Blog Pure Virtual C++ 2026 Is Tomorrow and On-Demand Sessions Are Now Available - C++ Team Blog Pure Virtual C++ 2026 [Meet the Speakers, Part 3]: Modernizing C++ - C++ Team Blog MSVC Build Tools Preview updates - July 2026 - C++ Team Blog Rethinking C++ Performance: Faster Code Navigation and GitHub Copilot Tools with Whole Codebase Indexing - C++ Team Blog Pure Virtual C++ 2026 [Meet the Speakers, Part 2]: The AI-Native C++ Developer Workflow - C++ Team Blog Pure Virtual C++ 2026 [Meet the Speakers, Part 1]: Build Faster, Run Faster - C++ Team Blog What's New in vcpkg (June 2026) - C++ Team Blog Pure Virtual C++ 2026 Talks Announced - C++ Team Blog Save the Date: Pure Virtual C++ 2026 - C++ Team Blog Streamline C++ Code Intelligence Setup in Copilot CLI - C++ Team Blog Boosting Adobe Photoshop’s Performance with MSVC and SPGO - C++ Team Blog GitHub Copilot modernization for C++ is out of preview MSVC Build Tools Preview updates – June 2026 What’s New in vcpkg (May 2026) What’s New for C++ Developers in Visual Studio 2026 (18.1 – 18.6) Introducing Sample Profile Guided Optimization in MSVC NuGet PackageReference for C++ Projects in Visual Studio Segment Heap support for C++ projects in Visual Studio MSVC Build Tools Preview updates – May 2026 MSVC Build Tools version 14.51 (GA) now available Project-Specific Build Optimizations with GitHub Copilot What's New in vcpkg (Apr 2026) - C++ Team Blog Giving Copilot more C++ context using custom instructions in VS Code Take the 2026 ISO C++ Developer Survey! - C++ Team Blog C++ Code Intelligence for GitHub Copilot CLI (Preview) - C++ Team Blog MSVC Build Tools Version 14.51 Release Candidate Now Available C++23 Support in MSVC Build Tools 14.51 What’s New in vcpkg (Feb 2026 – Mar 2026): Parallel file installation and more! Visual Studio at GDC Festival of Gaming 2026 C++ Performance Improvements in MSVC Build Tools v14.51 C++ symbol context and CMake build configuration awareness for GitHub Copilot in VS Code Microsoft C++ (MSVC) Build Tools v14.51 Preview Released: How to Opt In What’s New in vcpkg (Nov 2025 – Jan 2026) MSVC Build Tools Versions 14.30 – 14.43 Now Available in Visual Studio 2026 GitHub Copilot app modernization for C++ is now in Public Preview Visual Studio Code CMake Tools 1.22: Target bookmarks and better CTest output
Faster C++ iterative builds with GitHub Copilot - C++ Team Blog
David Li · 2026-07-17 · via C++ Team Blog

Slow builds are a consistent theme of feedback from C++ developers. We built GitHub Copilot build performance for Windows so you can leverage Copilot to optimize your project’s build times. This workflow will find optimizations that bring your build times down.

At first, we only measured the impact of build optimizations on full clean builds. While that number is valuable, we know that you are not rebuilding from scratch on most days. You edit a file and build, then repeat the process as part of your iterative loop.

Working with customers after the public preview, we noticed that every now and then, the agent proposed a change that made the clean build slightly slower. On its own, that suggestion may look like a regression you would reject. After further investigation, we learned that the same change can often make the iterative build faster. For instance, you may want a faster iterative build in exchange for your full builds to be a little slower.

This is how we came up with the iterative build tool. Today, you can measure how each change affects your iterative builds and not just your clean builds, right inside GitHub Copilot build performance for Windows. The tool is available now in Visual Studio 2026 18.6.1 Stable and 18.7 Insiders. You will see both numbers side by side so you can make the right call for your team.

A screenshot of the C++ Build Performance agent landing page in GitHub Copilot Chat

Iterative Build Tool

We learned that a full rebuild doesn’t always reflect how you work from day to day. For example, precompiled headers can look slower in a clean rebuild but make your real, everyday incremental builds noticeably faster. When the agent sees a change that looks worse in a full rebuild, it won’t throw it away. Instead, the agent reruns a comparable incremental build to check whether the change helps your workflow.

The iterative build tool is the newest part of the agent’s optimization loop. It attempts a change, runs a quick build to check whether the change helped, then decides what to do next. If a change made things worse or did nothing, the agent rolls it back and tries something else. If it improves your build time, the agent keeps it and moves on. Then, it will present all the changes to you at the end of the flow. With the new tool, the agent now takes smaller steps and gives faster feedback through fewer wasted builds while giving you the ultimate decision. With these optimizations, you can apply them to configurations you use on a day-to-day basis with the decision ultimately being yours.

Try It Now

The iterative build tool ships as part of GitHub Copilot build performance for Windows in Visual Studio 2026 18.6.

  1. Open a C++ project and type in Copilot Chat: “make my build faster”
    1. If you want to test the tool on a sample project, we recommend libmodem.
  2. The agent will capture a trace, then apply optimizations.
  3. If the build time increases after agent changes, the agent will seek approval to run experiments.
    1. step 1 of iterative build approval
  4. After accepting, the Iterative Build Tool will fire and request your permission to test with agent changes.
    1. step 2 of iterative build approval
  5. The agent will also ask for permission to establish a baseline measurement.
    1. step 3 of iterative build approval
  6. You will then be asked to run a regular build. If you are using CMake, you will be asked for an additional approval after CMake generation has finished.
    1. step 4 of iterative build approval
  7. Finally, the agent asks if you would like to apply the optimizations that will improve your iterative build.
    1. step 5 of iterative build approval

Feedback Wanted

As always, your feedback provides crucial guidance on how we build our products. If you try the iterative build tool on a real project, we would love to hear how it goes. Please give us feedback by filling out this survey. We encourage you to share your thoughts with us by commenting below, through Help > Send Feedback in Visual Studio, or on X (@VisualC). Thank you for your continued support!

Learn more: Documentation for GitHub Copilot build performance for Windows | Microsoft Learn

Category

Topics

Author

David Li

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