PGO (profile-guided optimisation)
RU: PGO (profile-guided optimisation)
Profile-guided optimisation (PGO) is a compiler technique that feeds runtime execution data from a representative workload back into a subsequent build, letting the compiler make evidence-based decisions — inlining hot call sites, reordering code for branch predictability, and laying out functions to reduce instruction-cache misses. The key tradeoff is that the resulting binary is optimised for the profiled workload; performance on significantly different workloads may not improve.