Note that the C++ build process differs significantly enough from that of Rust (in particular wrt compilation unit granularity, which has a strong effect on inlining even with LTO on) that the increased effectiveness of PGO in C++ could be caused by this difference. But that's just a possibility.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Add Propeller support to the Rustc compiler | 8 | 1027 | January 24, 2024 | |
| Optimizing by default | 55 | 14145 | March 25, 2019 | |
| Let's talk about parallel codegen | 49 | 10053 | March 25, 2019 | |
|
Feedback request: Performance improvements from reducing debug info
|
18 | 1355 | May 21, 2025 | |
| Help test out ThinLTO! | 52 | 16551 | March 25, 2019 |