1. 20 May, 2013 8 commits
    • Dmitriy Vyukov's avatar
      test: do not run the test that relies on precise GC on 32-bits · 910bd157
      Dmitriy Vyukov authored
      Currently most of the 32-bit builder are broken.
      Fixes #5516.
      
      R=golang-dev, dave, iant
      CC=golang-dev
      https://golang.org/cl/9573043
      910bd157
    • Brad Fitzpatrick's avatar
      net/http: simplify transfer body; reduces allocations too · 27f74279
      Brad Fitzpatrick authored
      benchmark                                   old ns/op    new ns/op    delta
      BenchmarkServerFakeConnNoKeepAlive              14431        14247   -1.28%
      BenchmarkServerFakeConnWithKeepAlive            11618        11357   -2.25%
      BenchmarkServerFakeConnWithKeepAliveLite         6735         6427   -4.57%
      BenchmarkServerHandlerTypeLen                    8842         8740   -1.15%
      BenchmarkServerHandlerNoLen                      8001         7828   -2.16%
      BenchmarkServerHandlerNoType                     8270         8227   -0.52%
      BenchmarkServerHandlerNoHeader                   6148         5920   -3.71%
      
      benchmark                                  old allocs   new allocs    delta
      BenchmarkServerFakeConnNoKeepAlive                 30           29   -3.33%
      BenchmarkServerFakeConnWithKeepAlive               25           24   -4.00%
      BenchmarkServerFakeConnWithKeepAliveLite           10            9  -10.00%
      BenchmarkServerHandlerTypeLen                      18           17   -5.56%
      BenchmarkServerHandlerNoLen                        15           14   -6.67%
      BenchmarkServerHandlerNoType                       16           15   -6.25%
      BenchmarkServerHandlerNoHeader                     10            9  -10.00%
      
      benchmark                                   old bytes    new bytes    delta
      BenchmarkServerFakeConnNoKeepAlive               2557         2492   -2.54%
      BenchmarkServerFakeConnWithKeepAlive             2260         2194   -2.92%
      BenchmarkServerFakeConnWithKeepAliveLite         1092         1026   -6.04%
      BenchmarkServerHandlerTypeLen                    1941         1875   -3.40%
      BenchmarkServerHandlerNoLen                      1898         1832   -3.48%
      BenchmarkServerHandlerNoType                     1906         1840   -3.46%
      BenchmarkServerHandlerNoHeader                   1092         1026   -6.04%
      
      Update #5195
      
      R=golang-dev, daniel.morsing
      CC=golang-dev
      https://golang.org/cl/9492044
      27f74279
    • Mikio Hara's avatar
      syscall: prefer PATH environment variable in bootstrap scripts · b98a4d1a
      Mikio Hara authored
      R=golang-dev, dave, iant
      CC=golang-dev
      https://golang.org/cl/9575043
      b98a4d1a
    • Mikio Hara's avatar
      runtime: integrated network poller for freebsd/amd64,386, openbsd/amd64,386 · c5732c85
      Mikio Hara authored
      Update #5199
      
      R=golang-dev, dvyukov
      CC=golang-dev
      https://golang.org/cl/8825043
      c5732c85
    • Alex Brainman's avatar
      net: move system common global variables into fd_unix.go · 1a948950
      Alex Brainman authored
      R=golang-dev, bradfitz
      CC=dvyukov, golang-dev, mikioh.mikioh
      https://golang.org/cl/9495044
      1a948950
    • Dmitriy Vyukov's avatar
      runtime: zeroize g->fnstart to not prevent GC of the closure · 13081942
      Dmitriy Vyukov authored
      Fixes #5493.
      
      R=golang-dev, minux.ma, iant
      CC=golang-dev
      https://golang.org/cl/9557043
      13081942
    • Brad Fitzpatrick's avatar
      net/http: fewer allocations in the server path · d4cbc80d
      Brad Fitzpatrick authored
      Don't allocate for the Date or Content-Length headers.
      A custom Date header formatter replaces use of time.Format.
      
      benchmark                                   old ns/op    new ns/op    delta
      BenchmarkClientServer                           67791        64424   -4.97%
      BenchmarkClientServerParallel4                  62956        58533   -7.03%
      BenchmarkClientServerParallel64                 62043        54789  -11.69%
      BenchmarkServer                                254609       229060  -10.03%
      BenchmarkServerFakeConnNoKeepAlive              17038        16316   -4.24%
      BenchmarkServerFakeConnWithKeepAlive            14184        13226   -6.75%
      BenchmarkServerFakeConnWithKeepAliveLite         8591         7532  -12.33%
      BenchmarkServerHandlerTypeLen                   10750         9961   -7.34%
      BenchmarkServerHandlerNoLen                      9535         8935   -6.29%
      BenchmarkServerHandlerNoType                     9858         9362   -5.03%
      BenchmarkServerHandlerNoHeader                   7754         6856  -11.58%
      
      benchmark                                  old allocs   new allocs    delta
      BenchmarkClientServer                              68           66   -2.94%
      BenchmarkClientServerParallel4                     68           66   -2.94%
      BenchmarkClientServerParallel64                    68           66   -2.94%
      BenchmarkServer                                    21           19   -9.52%
      BenchmarkServerFakeConnNoKeepAlive                 32           30   -6.25%
      BenchmarkServerFakeConnWithKeepAlive               27           25   -7.41%
      BenchmarkServerFakeConnWithKeepAliveLite           12           10  -16.67%
      BenchmarkServerHandlerTypeLen                      19           18   -5.26%
      BenchmarkServerHandlerNoLen                        17           15  -11.76%
      BenchmarkServerHandlerNoType                       17           16   -5.88%
      BenchmarkServerHandlerNoHeader                     12           10  -16.67%
      
      Update #5195
      
      R=nigeltao
      CC=golang-dev
      https://golang.org/cl/9432046
      d4cbc80d
    • Alex Brainman's avatar
      runtime: change PollDesc.fd from int32 to uintptr · 38abb09a
      Alex Brainman authored
      This is in preparation for netpoll windows version.
      
      R=golang-dev, bradfitz
      CC=dvyukov, golang-dev, mikioh.mikioh
      https://golang.org/cl/9569043
      38abb09a
  2. 19 May, 2013 2 commits
  3. 18 May, 2013 5 commits
  4. 17 May, 2013 8 commits
  5. 16 May, 2013 5 commits
  6. 15 May, 2013 12 commits