Skip to content

Commit

Permalink
doc/go1.20: mention build speed improvements
Browse files Browse the repository at this point in the history
For #49569.
For #54202.

Change-Id: Iac45338bc4e45617e8ac7425076cf4cd0af157a4
Reviewed-on: https://go-review.googlesource.com/c/go/+/461957
TryBot-Bypass: Austin Clements <[email protected]>
Reviewed-by: Michael Knyszek <[email protected]>
  • Loading branch information
aclements committed Jan 13, 2023
1 parent 643f463 commit 16cec4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/go1.20.html
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,10 @@ <h2 id="compiler">Compiler</h2>
</p>

<p><!-- https://go.dev/issue/49569 -->
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.
</p>

<h2 id="linker">Linker</h2>
Expand Down

0 comments on commit 16cec4e

Please sign in to comment.