toolchain-agnostic build time improvements
summary
Automated header refactoring plus include-what-you-use (IWYU) and selective precompiled headers aim to cut front‑end work by removing indirect and dead includes and by splitting hot headers. IWYU plus symbol/inclusion tables yields a 78% reduction in preprocessed lines for lib/string.o (build 36s → 0.12s), global test changes to ~220 files reduce a defconfig build from 72.3s to 69s, and over a million preprocessed lines are removed so far. Hierarchical graph partitioning identifies split points; recent modpost fixes shave minutes; link-time BTF de‑duplication is under study.
AI-written summary · about
chapters (6)
- 0:00Introduction and motivation
- 3:55Include What You Use challenges
- 7:50Results and speed improvements
- 11:24Header splitting with static analysis
- 14:35Community feedback and future work
- 22:20Q&A
related talks
53mReducing C++ Compilation Times Through Good Design
59mThe Hitchhikers guide to faster builds
56mPractical Techniques for Improving C++ Build Times
01h 44mImproving C++ Compilation Times: Tools & Techniques
49mBuild Systems: a Simple Solution to a Complicated Problem
04mInclude Cleanup and Diagnostics in Visual Studio
46mDeveloper Productivity at Scale
01h 01mTools from the C++ Ecosystem to save a leg
