From 7b7efd7a7c952f8b372c861c94acd159ee371acb Mon Sep 17 00:00:00 2001 From: Dan Scales Date: Tue, 7 Dec 2021 13:32:36 -0800 Subject: [PATCH] doc: add in release note about compiler being roughly 15% slower Updates #49569 Change-Id: Ifba769993c50bb547cb355f56934fb572ec17a1a Reviewed-on: https://go-review.googlesource.com/c/go/+/370154 Reviewed-by: Austin Clements Trust: Dan Scales --- doc/go1.18.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/go1.18.html b/doc/go1.18.html index ad08083793..a3c2da059b 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -321,8 +321,11 @@ Do not send CLs removing the interior tags from such phrases. new go command -asan option.

-

- TODO: Mention build speed impact. +

+ Because of changes in the compiler related to supporting generics, the + Go 1.18 compile speed can be roughly 15% slower than the Go 1.17 compile speed. + The execution time of the compiled code is not affected. We + intend to improve the speed of the compiler in Go 1.19.

Linker

-- 2.50.0