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: option to print results of pgo #71278

Closed
qinlonglong123 opened this issue Jan 15, 2025 · 4 comments
Closed

cmd/compile: option to print results of pgo #71278

qinlonglong123 opened this issue Jan 15, 2025 · 4 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime.

Comments

@qinlonglong123
Copy link

Proposal Details

Our project uses the PGO (Profile-Guided Optimization) feature, and since our functionality is quite large, modifying some parts of the code may affect the previously identified PGO hotspot functions, causing the PGO optimization to fail. We would like to print the PGO optimization overview during the build process, so that we can decide whether to re-collect the PGO data. Thank you.

@seankhliao seankhliao changed the title PGO: overview of inline functions in printing cmd/compile: option to print results of pgo Jan 15, 2025
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jan 15, 2025
@gabyhelp
Copy link

Related Issues

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

@qiulaidongfeng
Copy link
Member

For now, you can try use https://github.com/qiulaidongfeng/diffbench

@ianlancetaylor
Copy link
Member

CC @golang/compiler

@mknyszek
Copy link
Contributor

This seems like a duplicate of #58153 to me.

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.
Projects
None yet
Development

No branches or pull requests

6 participants