From: Austin Clements
Date: Mon, 7 Dec 2020 22:15:06 +0000 (-0500)
Subject: doc/go1.16: update linker stats
X-Git-Tag: go1.16beta1~69
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6362d01c152071751bd594bdf10c301514fc2d4e;p=gostls13.git
doc/go1.16: update linker stats
benchstat v2 comparison vs HEAD:
1.15.6 1.16
sec/op sec/op vs base
LinkIstio-48 4.44 ± 1% 3.43 ± 1% -22.79% (p=0.000 n=20)
LinkKubelet-48 10.89 ± 1% 8.42 ± 1% -22.63% (p=0.000 n=20)
LinkDiscovery-48 1.43 ± 1% 1.06 ± 1% -25.68% (p=0.000 n=20)
LinkIstio-4 4.50 ± 1% 3.52 ± 1% -21.84% (p=0.000 n=20)
LinkKubelet-4 10.84 ± 2% 8.55 ± 1% -21.09% (p=0.000 n=20)
LinkDiscovery-4 1.45 ± 2% 1.11 ± 2% -23.81% (p=0.000 n=20)
1.15.6 1.16
max-RSS-bytes max-RSS-bytes vs base
LinkIstio-48 1085Mi ± 1% 1006Mi ± 0% -7.32% (p=0.000 n=20)
LinkKubelet-48 1.60Gi ± 5% 1.46Gi ± 1% -8.57% (p=0.000 n=20)
LinkDiscovery-48 392Mi ± 1% 362Mi ± 2% -7.71% (p=0.000 n=20)
LinkIstio-4 1022Mi ± 6% 958Mi ± 1% -6.26% (p=0.000 n=20)
LinkKubelet-4 1.63Gi ± 2% 1.44Gi ± 0% -11.44% (p=0.000 n=20)
LinkDiscovery-4 400Mi ± 0% 353Mi ± 1% -11.83% (p=0.000 n=20)
1.15.6 1.16
exe-bytes exe-bytes vs base
LinkIstio-48 97.7Mi ± 0% 93.4Mi ± 0% -4.38% (p=0.000 n=20)
LinkKubelet-48 129Mi ± 0% 127Mi ± 0% -1.17% (p=0.000 n=20)
LinkDiscovery-48 31.9Mi ± 0% 29.1Mi ± 0% -8.67% (p=0.000 n=20)
LinkIstio-4 97.7Mi ± 0% 93.4Mi ± 0% -4.38% (p=0.000 n=20)
LinkKubelet-4 129Mi ± 0% 127Mi ± 0% -1.17% (p=0.000 n=20)
LinkDiscovery-4 31.9Mi ± 0% 29.1Mi ± 0% -8.67% (p=0.000 n=20)
https://perf.golang.org/search?q=upload:20201207.6
For #40700.
Change-Id: I3f7b3e08db4fb7980d2472f15e5fc04503e95ea0
Reviewed-on: https://go-review.googlesource.com/c/go/+/275912
Trust: Austin Clements
Reviewed-by: Cherry Zhang
---
diff --git a/doc/go1.16.html b/doc/go1.16.html
index a1f07c10fd..da8f560f85 100644
--- a/doc/go1.16.html
+++ b/doc/go1.16.html
@@ -361,13 +361,10 @@ Do not send CLs removing the interior tags from such phrases.
supported architecture/OS combinations (the 1.15 performance improvements
were primarily focused on ELF
-based OSes and
amd64
architectures). For a representative set of
- large Go programs, linking is 20-35% faster than 1.15 and requires
+ large Go programs, linking is 20-25% faster than 1.15 and requires
5-15% less memory on average for linux/amd64
, with larger
- improvements for other architectures and OSes.
-
-
-
- TODO: update with final numbers later in the release.
+ improvements for other architectures and OSes. Most binaries are
+ also smaller as a result of more aggressive symbol pruning.