Repository navigation
docs(arrow): mention profile-guided optimization in Performance Tips - #12538
Open
VanshajPoonia wants to merge 1 commit into
Open
VanshajPoonia wants to merge 1 commit into
VanshajPoonia wants to merge 1 commit into
Conversation
Add a short section after the target-cpu advice. It says what PGO does, that it belongs in the application's build, what the benchmark report in discussion apache#6500 found, and how to try it with cargo-pgo or the rustc flags.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Rationale for this change
#10464 asks for a note on PGO and based on the benchmarks in #6500, which found many
arrowbenchmarks faster with PGO and a few slower. #10769 did this but was closed by its author before CI ran that's why I picked it up.What changes are included in this PR?
A short "Profile-Guided Optimization" section at the end of Performance Tips in
arrow/README.md. It says what PGO does, that you set it up when building your final binary and not inarrow, what #6500 found and how to try it with cargo-pgo or the-Cprofile-generateand-Cprofile-useflags.Are these changes tested?
Docs only. The three links work and prettier 2.3.2 leaves the section unchanged.
Are there any significant user-facing changes?
No.
AI usage disclosure
I used an AI assistant to draft the section. I read it against #6500 and the cargo-pgo and rustc docs and edited it myself.