Evaluate using Profile-Guided Optimization (PGO) and Post-Link Optimization (PLO) #195
zamazan4ik
started this conversation in
Ideas
Replies: 1 comment
-
Thank you for the interesting information and suggestion. I'll plan to spend some time to evaluate it for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Recently I checked Profile-Guided Optimization (PGO) and Post-Link Optimization (PLO) improvements on multiple projects. The results are available here. According to the tests, these optimizations can help with achieving better performance in many compilers and compiler-like things: Clang, GCC, Rustc, CPython, etc. E.g. for LLVM-based tooling the results could be checked here. Since this, I think trying to optimize
llvm-mctoll
with PGO and PLO would be a good idea.I can suggest the following action points:
Additional context
Testing Post-Link Optimization techniques (like LLVM BOLT) would be interesting too (Clang and Rustc already use BOLT as an addition to PGO) but I recommend starting from the usual PGO.
Examples of how PGO optimization is integrated into other projects:
configure
scriptI have some examples of how PGO information looks in the documentation:
Regarding LLVM BOLT integration, I have the following examples:
Beta Was this translation helpful? Give feedback.
All reactions