Skip to content

Commit

Permalink
_content/doc/go1.20: add link to PGO user guide
Browse files Browse the repository at this point in the history
For golang/go#55022.

Change-Id: Ib2420c000dd0d6e7e272e217473e4ec192d4c730
Reviewed-on: https://go-review.googlesource.com/c/website/+/464477
Run-TryBot: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
  • Loading branch information
prattmic authored and gopherbot committed Feb 1, 2023
1 parent 26bd212 commit 30aebd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _content/doc/go1.20.html
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ <h2 id="compiler">Compiler</h2>
Go 1.20 uses PGO to more aggressively inline functions at hot call sites.
Benchmarks for a representative set of Go programs show enabling
profile-guided inlining optimization improves performance about 3–4%.
See the <a href="/doc/pgo">PGO user guide</a> for detailed documentation.
We plan to add more profile-guided optimizations in future releases.
Note that profile-guided optimization is a preview, so please use it
with appropriate caution.
Expand Down

0 comments on commit 30aebd7

Please sign in to comment.