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

Evaluate Profile-Guided Optimization (PGO) #989

Closed
zamazan4ik opened this issue Jul 15, 2023 · 1 comment
Closed

Evaluate Profile-Guided Optimization (PGO) #989

zamazan4ik opened this issue Jul 15, 2023 · 1 comment

Comments

@zamazan4ik
Copy link

Hi!

Recently I checked Profile-Guided Optimization (PGO) improvements on multiple projects. The results are here. LLVM-related results are here.

Since PGO showed measurable improvements in compiler-like loads (Clang, Clangd, clang-format, GCC, Rustc, etc.) I think it could be useful to check PGO on c2rust too.

We need to perform PGO benchmarks on C2Rust. And if it shows improvements - add a note about possible improvements in C2Rust performance with PGO. Providing an easier way (e.g. a build option) to build scripts with PGO can be useful for the end-users too.

@fw-immunant
Copy link
Contributor

C2Rust isn't generally the bottleneck in any workflow we're aware of, and hasn't been optimized carefully beyond generally trying to avoid obvious O(n^2) pitfalls. I don't think PGO is in scope until specific performance concerns have been identified.

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

2 participants