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

cmd/compile: provide default PGO profiles that cover the runtime #70393

Open
Jorropo opened this issue Nov 16, 2024 · 1 comment
Open

cmd/compile: provide default PGO profiles that cover the runtime #70393

Jorropo opened this issue Nov 16, 2024 · 1 comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Performance
Milestone

Comments

@Jorropo
Copy link
Member

Jorropo commented Nov 16, 2024

Given no PGO coverage should have minimal impact and there seems to be limited ways to use the runtime codepaths.
It might be worth collecting average profiles for some go programs, filter for the runtime (or maybe std) and apply it if no profile at all were provided. This wouldn't make your code faster, but might for std and runtime.

Both seems benchmarkable claims, then we could discuss the process costs to collecting and maintaining such profiles.

similar to #70291 this idea came up during a brief PGO discussion at the Go contributor summit at golab.io

@dmitshur dmitshur changed the title cmd/build: provide default PGO profiles that cover the runtime cmd/compile: provide default PGO profiles that cover the runtime Nov 20, 2024
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Nov 20, 2024
@dmitshur dmitshur added Performance NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. FeatureRequest labels Nov 20, 2024
@dmitshur dmitshur added this to the Backlog milestone Nov 20, 2024
@mknyszek mknyszek modified the milestones: Backlog, Unplanned Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Performance
Projects
Development

No branches or pull requests

5 participants