From 818de275c0170dce86f2e4c6b3c70fbbea99bf94 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Mon, 4 Dec 2023 13:31:21 -0500 Subject: [PATCH] doc: add release notes for PGO improvements For #61577. For #61422. Change-Id: I575bf657fb36bd7103c73620bb2371d0f490af20 Reviewed-on: https://go-review.googlesource.com/c/go/+/546935 Reviewed-by: Cherry Mui LUCI-TryBot-Result: Go LUCI --- doc/go1.22.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/go1.22.html b/doc/go1.22.html index 7ffe4348212..4c180fd653d 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -124,7 +124,14 @@ Do not send CLs removing the interior tags from such phrases.

Compiler

- TODO: complete this section, or delete if not needed + TODO: complete this section. +

+ +

+ Profile-guided Optimization (PGO) builds + can now devirtualize a higher proportion of calls than previously possible. + Most programs from a representative set of Go programs now see between 2 and + 14% improvement from enabling PGO.

Linker