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

Build binaries with profile-guided optimization enabled #2417

Open
fbac opened this issue Jul 2, 2024 · 1 comment
Open

Build binaries with profile-guided optimization enabled #2417

fbac opened this issue Jul 2, 2024 · 1 comment

Comments

@fbac
Copy link
Contributor

fbac commented Jul 2, 2024

Motivation and Context
zetacored and zetaclientd could benefit from using profile-guided optimization.

By building the binaries with pgo enabled we can benefit from a 2-14% performance boost for "free", as the compiler will optimize the binaries based on previous data collected at runtime (inlining functions, etc).
This does not only apply to our code but also to the libraries used by the binary, as the data is gathered during runtime.

@fbac fbac added feature:idea An early idea for a feature. Used as reference to follow new feature integrations performance labels Jul 2, 2024
@lumtis
Copy link
Member

lumtis commented Jul 2, 2024

I may understand we need profile file to provide when building the binary?

I think we already generated pprof in the past cc @CharlieMc0 @brewmaster012

@gartnera gartnera mentioned this issue Jul 12, 2024
11 tasks
@CharlieMc0 CharlieMc0 removed the feature:idea An early idea for a feature. Used as reference to follow new feature integrations label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants