Skip to content

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

@Jorropo

Description

@Jorropo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Performancecompiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions