From 4c48e4ecb5927d3f176bb1494c81e2aa14e0f283 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sat, 23 Mar 2013 08:29:59 -0700 Subject: [PATCH] doc/go1.1.html: performance An overview is all that's required. R=golang-dev, remyoudompheng, bradfitz, adg CC=golang-dev https://golang.org/cl/7577050 --- doc/go1.1.html | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/doc/go1.1.html b/doc/go1.1.html index f1d490f412..88fd818f60 100644 --- a/doc/go1.1.html +++ b/doc/go1.1.html @@ -323,14 +323,29 @@ to convert the code to Go 1.0 first.

Performance

-TODO introduction +The performance of code compiled with the Go 1.1 gc tool suite should be noticeably +better for most Go programs. +Typical improvements relative to Go 1.0 seem to be about 30%-40%, sometimes +much more, but occasionally less or even non-existent. +There are too many small performance-driven tweaks through the tools and libraries +to list them all here, but the following major changes are worth noting:

Changes to the standard library

@@ -598,7 +613,7 @@ a string, rather than a float64.
  • -The endoding/xml package +The encoding/xml package has a new function, EscapeText, which writes escaped XML output, -- 2.48.1