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

After Go 1.21 is out, build with PGO enabled #202

Closed
benhoyt opened this issue Jul 14, 2023 · 1 comment
Closed

After Go 1.21 is out, build with PGO enabled #202

benhoyt opened this issue Jul 14, 2023 · 1 comment

Comments

@benhoyt
Copy link
Owner

benhoyt commented Jul 14, 2023

Profile-guided optimization (PGO) will become ready for general use with the release of Go 1.21.

From a quick test with go1.21rc3, GoAWK built with Go 1.21 (without PGO) is already significantly faster than GoAWK built with Go 1.20. So that's a good start. But enabling PGO looks like it improves the performance a bit more.

Will need to determine what set of representative benchmark(s) we run to produce the PGO profile.

@benhoyt
Copy link
Owner Author

benhoyt commented Oct 19, 2023

I did this in 5311ab1, closing.

@benhoyt benhoyt closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant