From 16cec4e7a0ed4b1e5cf67a07a1bf24bdf2f6b04c Mon Sep 17 00:00:00 2001
From: Austin Clements
Date: Fri, 13 Jan 2023 11:40:13 -0500
Subject: [PATCH] doc/go1.20: mention build speed improvements
For #49569.
For #54202.
Change-Id: Iac45338bc4e45617e8ac7425076cf4cd0af157a4
Reviewed-on: https://go-review.googlesource.com/c/go/+/461957
TryBot-Bypass: Austin Clements
Reviewed-by: Michael Knyszek
---
doc/go1.20.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/doc/go1.20.html b/doc/go1.20.html
index 23fa82c41b..a497f87712 100644
--- a/doc/go1.20.html
+++ b/doc/go1.20.html
@@ -350,8 +350,10 @@ Do not send CLs removing the interior tags from such phrases.
- Relative to Go 1.19, generated code performance is generally slightly improved,
- build wall times are slightly increased, build user times are slightly decreased.
+ Go 1.18 and 1.19 saw regressions in build speed, largely due to the addition
+ of support for generics and follow-on work. Go 1.20 improves build speeds by
+ up to 10%, bringing it back in line with Go 1.17.
+ Relative to Go 1.19, generated code performance is also generally slightly improved.
Linker
--
2.50.0