How to Use PGO and LTO With Meson and Clang
A tested walkthrough for enabling Profile Guided Optimization and Link Time Optimization in a Meson project built with Clang, including the llvm-profdata merge step most guides forget.
2 pages tagged “Cpp”.
A tested walkthrough for enabling Profile Guided Optimization and Link Time Optimization in a Meson project built with Clang, including the llvm-profdata merge step most guides forget.
Measuring PGO and LTO on a C++ SPH simulation with perf and flamegraphs, and why they barely helped.