You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I did many Profile-Guided Optimization (PGO) benchmarks on multiple projects (including static analysis tools and compilers like Rustc, Clang, Clangd, Clang Tidy, and many others) - the results are available here. So that's why I think it's worth trying to apply PGO to Qsharp.
I can suggest the following things to do:
Evaluate PGO's applicability to Qsharp.
If PGO helps to achieve better performance - add a note to Qsharp's documentation about that. In this case, users and maintainers will be aware of another optimization opportunity for Qsharp.
Provide PGO integration into the build scripts. It can help users and maintainers easily apply PGO for their own workloads.
Optimize prebuilt binaries with PGO.
Here are some examples of how PGO is already integrated into other projects' build scripts:
This does not seem to be relevant to our ongoing work.
@swernli Could you please describe a little bit more, why it's not important? I guess the compiler performance could be interesting for the Qsharp users.
Even if the compiler performance isn't the current dev team focus, I still suggest leaving the issue open. So maybe someone from the community will decide to help with the issue and will make a PR with enabling PGO for Qsharp.
Hi!
Recently I did many Profile-Guided Optimization (PGO) benchmarks on multiple projects (including static analysis tools and compilers like Rustc, Clang, Clangd, Clang Tidy, and many others) - the results are available here. So that's why I think it's worth trying to apply PGO to Qsharp.
I can suggest the following things to do:
Here are some examples of how PGO is already integrated into other projects' build scripts:
configure
scriptAfter PGO, I can suggest evaluating LLVM BOLT as an additional optimization step after PGO.
For the Rust projects, I recommend starting with cargo-pgo.
The text was updated successfully, but these errors were encountered: