Tag
Charlie Marsh 发现可以在 PGO 过程中构建的插桩二进制文件上使用 thin LTO,从而显著缩短构建时间,且最终二进制文件的性能似乎不受影响。
headstart is a set of rustc and cargo patches that emit crate metadata early (`.early-rmeta`) so dependent crates can start compiling against interface metadata while their dependencies are still type-checking function bodies, making clean `cargo check` builds up to 54% faster and `cargo build` up to 42% across 13 real-world Rust projects.
The article outlines a systematic method for improving Haskell build times by benchmarking, identifying bottlenecks like slow modules, analyzing causes such as excessive type-level programming, and evaluating trade-offs in optimizations.
python-build-standalone now uses full LTO for CPython 3.12 and later, which should modestly improve runtime performance. CPython defaults to ThinLTO when building with clang on these versions.
Vercel introduces turbo build machines that can be enabled for single deployments, providing 30 vCPUs and 60 GB of memory to speed up builds for hotfixes.
Google Devs presents a CI pipeline challenge where a dependency change made the build faster but broke production, prompting a debugging puzzle.
This blog post explains how to build a host-tuned GCC compiler using profile-guided optimization, LTO, and -O3 to achieve faster compilation times, with detailed instructions and benchmarks.