Skip to content

docs(arrow): mention profile-guided optimization in Performance Tips - #12538

Open
VanshajPoonia wants to merge 1 commit into
apache:mainfrom
VanshajPoonia:docs/10464-pgo
Open

VanshajPoonia wants to merge 1 commit into
apache:mainfrom
VanshajPoonia:docs/10464-pgo

Conversation

@VanshajPoonia

Copy link
Copy Markdown
Contributor

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 arrow benchmarks 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 in arrow, what #6500 found and how to try it with cargo-pgo or the -Cprofile-generate and -Cprofile-use flags.

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.

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.
@boring-cyborg boring-cyborg Bot added the arrow-core Core crates related to representing arrow data label Dec 2, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow-core Core crates related to representing arrow data

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add documentation about using Profile Guided Optimization (PGO)

1 participant