- 29 Mar, 2013 15 commits
-
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/8176043
-
Rob Pike authored
Do a little reformatting too. Fixes #5152. R=golang-dev, bradfitz, gri CC=golang-dev https://golang.org/cl/8157044
-
Brad Fitzpatrick authored
For the future. Update #5147 R=khr, r CC=golang-dev https://golang.org/cl/8165044
-
Brad Fitzpatrick authored
benchmark old ns/op new ns/op delta BenchmarkBufferNotEmptyWriteRead 848416 819983 -3.35% Update #5154 R=golang-dev, gri, robryk CC=golang-dev https://golang.org/cl/8173043
-
Brad Fitzpatrick authored
Also added a new benchmark from the same test: benchmark old ns/op new ns/op delta BenchmarkBufferNotEmptyWriteRead 2643698 709189 -73.17% Fixes #5154 R=golang-dev, r, gri CC=golang-dev https://golang.org/cl/8164043
-
Keith Randall authored
Fixes #5098 R=minux.ma, bradfitz, khr, rsc CC=golang-dev https://golang.org/cl/7746045
-
Elias Naur authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7548045
-
Brad Fitzpatrick authored
These only show up if GOTRACEBACK=2 Update #5005 R=golang-dev, fullung CC=golang-dev https://golang.org/cl/8156044
-
Keith Randall authored
Used by CL 8056043 for fast string equals. R=bradfitz CC=golang-dev https://golang.org/cl/8102044
-
Mikio Hara authored
Update #4234. Update #4501. R=golang-dev, dave, bradfitz CC=golang-dev https://golang.org/cl/8129043
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/8073044
-
Mikio Hara authored
Adds the missing wildcard port assignment description to ListenUDP. Also updates the wildcard port description on ListenTCP. R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/8063043
-
Mikio Hara authored
Closes the API documentation gap between platforms. R=golang-dev, r CC=golang-dev https://golang.org/cl/8086043
-
Mikio Hara authored
Also removes redundant tests that run Go 1.0 non-IPv6 support Windows code on IPv6 enabled Windows kernels. R=alex.brainman, golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/7812052
-
Brad Fitzpatrick authored
Fixes #5005 R=golang-dev, r CC=golang-dev https://golang.org/cl/8127043
-
- 28 Mar, 2013 14 commits
-
-
Robert Griesemer authored
With the faster strings package, the difference between the specialized code and strings.Split is in the noise: benchmark old ns/op new ns/op delta BenchmarkPrint 16724291 16686729 -0.22% (Measured on a Mac Pro, 2.8GHz Quad-core Intel Xeon, 4GB 800 MHz DDR2, Mac OS X 10.8.3) R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8100044
-
Ian Lance Taylor authored
Fixes #5150. R=golang-dev, franciscossouza CC=golang-dev https://golang.org/cl/8120043
-
Brad Fitzpatrick authored
Saves both the textproto.Reader allocation, and its internal scratch buffer growing. benchmark old ns/op new ns/op delta BenchmarkServerFakeConnWithKeepAliveLite 10324 10149 -1.70% benchmark old allocs new allocs delta BenchmarkServerFakeConnWithKeepAliveLite 19 17 -10.53% benchmark old bytes new bytes delta BenchmarkServerFakeConnWithKeepAliveLite 1559 1492 -4.30% R=golang-dev, r, gri CC=golang-dev https://golang.org/cl/8094046
-
Robert Griesemer authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/8122043
-
Carl Shapiro authored
Updates #5134 R=golang-dev, bradfitz, cshapiro, daniel.morsing, ality, iant CC=golang-dev https://golang.org/cl/8022044
-
Brad Fitzpatrick authored
Removes another per-request allocation. Also makes the code more readable, IMO. And more testable. benchmark old ns/op new ns/op delta BenchmarkServerFakeConnWithKeepAliveLite 10539 10324 -2.04% benchmark old allocs new allocs delta BenchmarkServerFakeConnWithKeepAliveLite 20 19 -5.00% benchmark old bytes new bytes delta BenchmarkServerFakeConnWithKeepAliveLite 1609 1559 -3.11% R=golang-dev, gri CC=golang-dev https://golang.org/cl/8118044
-
Brad Fitzpatrick authored
We already depend on strings in this file, so use it. Plus strings.Index will be faster than a manual loop once issue 3751 is finished. R=golang-dev, khr CC=golang-dev https://golang.org/cl/8116043
-
Robert Griesemer authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8113043
-
Brad Fitzpatrick authored
A chunkWriter and a response are 1:1. Make them contiguous in memory and save an allocation. benchmark old ns/op new ns/op delta BenchmarkServerFakeConnWithKeepAliveLite 10715 10539 -1.64% benchmark old allocs new allocs delta BenchmarkServerFakeConnWithKeepAliveLite 21 20 -4.76% benchmark old bytes new bytes delta BenchmarkServerFakeConnWithKeepAliveLite 1626 1609 -1.05% R=golang-dev, gri CC=golang-dev https://golang.org/cl/8114043
-
Brad Fitzpatrick authored
benchmark old ns/op new ns/op delta BenchmarkServerFakeConnWithKeepAliveLite 11031 10689 -3.10% benchmark old allocs new allocs delta BenchmarkServerFakeConnWithKeepAliveLite 23 21 -8.70% benchmark old bytes new bytes delta BenchmarkServerFakeConnWithKeepAliveLite 1668 1626 -2.52% R=golang-dev, gri CC=golang-dev https://golang.org/cl/8110044
-
Robert Griesemer authored
- removed gratuitous empty lines that creeped into command line output - changed comment color to a dark green so that links don't visually melt into them - removed some TODOs - updated doc.go R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8108044
-
Brad Fitzpatrick authored
Add more tests around the various orders handlers can access and flush response headers. Also clarify the documentation on fields of response and chunkWriter. While there, remove an allocation (a header clone) for simple handlers. benchmark old ns/op new ns/op delta BenchmarkServerFakeConnWithKeepAliveLite 15245 14966 -1.83% benchmark old allocs new allocs delta BenchmarkServerFakeConnWithKeepAliveLite 24 23 -4.17% benchmark old bytes new bytes delta BenchmarkServerFakeConnWithKeepAliveLite 1717 1668 -2.85% R=golang-dev, gri CC=golang-dev https://golang.org/cl/8101043
-
Ian Lance Taylor authored
R=golang-dev, daniel.morsing CC=golang-dev https://golang.org/cl/8070043
-
Robert Griesemer authored
Fixes regression introduced by CL 7860049. R=golang-dev, kamil.kisiel, dave CC=golang-dev https://golang.org/cl/8069044
-
- 27 Mar, 2013 11 commits
-
-
Rob Pike authored
Analogous to the one for .go files, it's for .s only and is protected by the verbose flag. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8030046
-
Rob Pike authored
R=golang-dev, alberto.garcia.hierro CC=golang-dev https://golang.org/cl/7861046
-
Rob Pike authored
This is a totally mechanical change. Errors are reported for the beginning of the statement, not the end, so the errchk markers need to be on the opening brace, not the closing one. It seems this test was never run. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7746050
-
Rob Pike authored
They should be build-tagged for vet_test not ignore, and not have a Go package clause. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8016047
-
Brad Fitzpatrick authored
Motivated by garbage profiling in HTTP benchmarks. This changes means new empty maps are just one small allocation (the HMap) instead the HMap + the relatively larger h->buckets allocation. This helps maps which remain empty throughout their life. benchmark old ns/op new ns/op delta BenchmarkNewEmptyMap 196 107 -45.41% benchmark old allocs new allocs delta BenchmarkNewEmptyMap 2 1 -50.00% benchmark old bytes new bytes delta BenchmarkNewEmptyMap 195 50 -74.36% R=khr, golang-dev, r CC=golang-dev https://golang.org/cl/7722046
-
Ian Lance Taylor authored
On OpenBSD don't mark runtime.{g,m} as STT_TLS symbols. R=golang-dev, dave CC=golang-dev https://golang.org/cl/7867046
-
Rob Pike authored
R=golang-dev, remyoudompheng, iant CC=golang-dev https://golang.org/cl/8038048
-
Robert Griesemer authored
Fixes #5077. R=r CC=golang-dev https://golang.org/cl/8021044
-
Ian Lance Taylor authored
Don't generate TLS sections on OpenBSD. R=golang-dev, r CC=golang-dev https://golang.org/cl/8059043
-
Ian Lance Taylor authored
Avoid generating TLS relocations on OpenBSD. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7641055
-
Rémy Oudompheng authored
R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/8051044
-