Open
Description
For example, if I run go build
on a Go codebase with a default.pgo
file, and the PGO logic can see that the majority of the symbols mentioned in the profile are not present in the source code at all, it could give a warning or an error to the user because one of two things might have happened:
- The profile was obtained for a different program with a fairly different codebase.
- The profile is old and the codebase has changed enough where the profile is no longer representative.
In both cases, it's possible that PGO may still give some minor benefit, but it's hard to say. Most importantly, I think we should surface this to the user so that they can grab a new profile.
(this idea came up during a brief PGO discussion at the Go contributor summit at golab.io)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status