1
0
mirror of https://github.com/golang/go synced 2024-11-22 19:54:39 -07:00
The Go programming language
Go to file
Brad Fitzpatrick 985b0992cd net/http: reuse bufio.Reader and bufio.Writer between conns
Saves over 8KB of allocations per new connection.

benchmark                             old ns/op    new ns/op    delta
BenchmarkServerFakeConnNoKeepAlive        28777        24927  -13.38%

benchmark                            old allocs   new allocs    delta
BenchmarkServerFakeConnNoKeepAlive           52           46  -11.54%

benchmark                             old bytes    new bytes    delta
BenchmarkServerFakeConnNoKeepAlive        13716         5286  -61.46%

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/7799047
2013-03-21 20:02:01 -07:00
api api/next.txt: remove references to go/types, now in separate repo 2013-03-12 14:42:37 -07:00
doc debug/elf: restore Go 1.0 semantics for (*File).Symbols 2013-03-21 17:01:39 -04:00
include build: fix for 32-bit windows builds on 64-bit windows system 2013-03-15 12:30:14 -04:00
lib go/doc, godoc: improved note reading 2013-03-19 11:14:35 -07:00
misc misc/swig: remove old broken Makefile 2013-03-20 08:06:58 -07:00
src net/http: reuse bufio.Reader and bufio.Writer between conns 2013-03-21 20:02:01 -07:00
test test: more systematic shift tests 2013-03-21 16:56:59 -07:00
.hgignore
.hgtags tag go1.0.3 2012-09-24 13:15:33 -05:00
AUTHORS A+C: Herbert Georg Fischer (individual CLA) 2013-03-15 13:43:29 -07:00
CONTRIBUTORS A+C: Herbert Georg Fischer (individual CLA) 2013-03-15 13:43:29 -07:00
favicon.ico godoc: update favicon 2012-10-11 17:02:36 +11:00
LICENSE doc: update licensing text one more time 2012-03-27 15:09:13 +11:00
PATENTS
README
robots.txt

This is the source code repository for the Go programming language.  

For documentation about how to install and use Go,
visit http://golang.org/ or load doc/install.html in your web browser.

After installing Go, you can view a nicely formatted
doc/install.html by running godoc --http=:6060
and then visiting http://localhost:6060/doc/install.html.

Unless otherwise noted, the Go source files are distributed
under the BSD-style license found in the LICENSE file.

--

Binary Distribution Notes

If you have just untarred a binary Go distribution, you need to set
the environment variable $GOROOT to the full path of the go
directory (the one containing this README).  You can omit the
variable if you unpack it into /usr/local/go, or if you rebuild
from sources by running all.bash (see doc/install.html).
You should also add the Go binary directory $GOROOT/bin
to your shell's path.

For example, if you extracted the tar file into $HOME/go, you might
put the following in your .profile:

    export GOROOT=$HOME/go
    export PATH=$PATH:$GOROOT/bin

See doc/install.html for more details.