Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plans for the "true" Profile-Guided Optimization (PGO) in the compiler #940

Open
zamazan4ik opened this issue Apr 30, 2024 · 0 comments
Open

Comments

@zamazan4ik
Copy link

Hi!

According to the documentation, in the compiler already exists some kind of "Profile-Guided Compilation". However, as far as I understand, it doesn't implement profile-guided optimizations like inlining, hot/cold code splitting, etc. as it's done in other AoT compilers with PGO like Clang, GCC, MSVC, Rustc, etc.

Do you have plans to implement it in the future? Implementing such a feature can help to achieve better performance in AoT mode. I tested PGO for many applications and it shows a great performance boost in practice - all the results are available at https://github.com/zamazan4ik/awesome-pgo . However, I understand implementing such optimizations can be a difficult task to complete, especially if you don't reuse existing LLVM/GCC infrastructure for that.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant