1. 06 Jun, 2012 8 commits
  2. 05 Jun, 2012 8 commits
    • Dave Cheney's avatar
      cmd/5c, cmd/5g, cmd/5l: fix array indexing warning under Clang 3.1 · d2d990cc
      Dave Cheney authored
      This should be the last of them.
      
      R=golang-dev, minux.ma, rsc
      CC=golang-dev
      https://golang.org/cl/6297043
      d2d990cc
    • Dave Cheney's avatar
      test/bench/go1: reduce fasta data size for linux/arm · 166dab69
      Dave Cheney authored
      As discussed on golang-dev, reduce the size of the fasta
      dataset to make it possible to run the go1 benchmarks on
      small ARM systems.
      
      Also, remove the 25m suffix from fasta data and Revcomp.
      
      linux/arm: pandaboard OMAP4
      
      BenchmarkBinaryTree17          1        70892426000 ns/op
      BenchmarkFannkuch11            1        35712066000 ns/op
      BenchmarkGobDecode            10         137146000 ns/op           5.60 MB/s
      BenchmarkGobEncode            50          64953000 ns/op          11.82 MB/s
      BenchmarkGzip          1        5675690000 ns/op           3.42 MB/s
      BenchmarkGunzip        1        1207001000 ns/op          16.08 MB/s
      BenchmarkJSONEncode            5         860424800 ns/op           2.26 MB/s
      BenchmarkJSONDecode            1        3321839000 ns/op           0.58 MB/s
      BenchmarkMandelbrot200        50          45893560 ns/op
      BenchmarkRevcomp              10         135220300 ns/op          18.80 MB/s
      BenchmarkTemplate              1        6385681000 ns/op           0.30 MB/s
      
      R=rsc, minux.ma, dsymonds
      CC=golang-dev
      https://golang.org/cl/6278048
      166dab69
    • Russ Cox's avatar
      runtime: use OS X vsyscall for gettimeofday (amd64) · 3a66bc41
      Russ Cox authored
      Thanks to Dave Cheney for the magic words "comm page".
      
      benchmark       old ns/op    new ns/op    delta
      BenchmarkNow          197           33  -83.05%
      
      This should make profiling a little better on OS X.
      The raw time saved is unlikely to matter: what likely matters
      more is that it seems like OS X sends profiling signals on the
      way out of system calls more often than it should; avoiding
      the system call should increase the accuracy of cpu profiles.
      
      The 386 version would be similar but needs to do different
      math for CPU speeds less than 1 GHz. (Apparently Apple has
      never shipped a 64-bit CPU with such a slow clock.)
      
      R=golang-dev, bradfitz, dave, minux.ma, r
      CC=golang-dev
      https://golang.org/cl/6275056
      3a66bc41
    • Russ Cox's avatar
      runtime: use OS X vsyscall for gettimeofday (386) · c7be4def
      Russ Cox authored
      amd64 was done in CL 6275056.
      
      We don't attempt to handle machines with clock speeds
      less than 1 GHz. Those will fall back to the system call.
      
      benchmark       old ns/op    new ns/op    delta
      BenchmarkNow          364           38  -89.53%
      
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/6307045
      c7be4def
    • Dave Cheney's avatar
      runtime: use uintptr for block length in scanblock · 09f48db3
      Dave Cheney authored
      Using an int64 for a block size doesn't make
      sense on 32bit platforms but extracts a performance
      penalty dealing with double word quantities on Arm.
      
      linux/arm
      
      benchmark                 old ns/op    new ns/op    delta
      BenchmarkGobDecode        155401600    144589300   -6.96%
      BenchmarkGobEncode         72772220     62460940  -14.17%
      BenchmarkGzip               5822632      2604797  -55.26%
      BenchmarkGunzip              326321       151721  -53.51%
      
      benchmark                  old MB/s     new MB/s  speedup
      BenchmarkGobDecode             4.94         5.31    1.07x
      BenchmarkGobEncode            10.55        12.29    1.16x
      
      R=golang-dev, rsc, bradfitz
      CC=golang-dev
      https://golang.org/cl/6272047
      09f48db3
    • Rémy Oudompheng's avatar
      cmd/[568]g: correct freeing of allocated Regs. · a7059cc7
      Rémy Oudompheng authored
      R=golang-dev, rsc
      CC=golang-dev, remy
      https://golang.org/cl/6281050
      a7059cc7
    • Nigel Tao's avatar
      gc: fix typo. · 6763e5b6
      Nigel Tao authored
      There already is a "Phase 6" a few lines above.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/6270054
      6763e5b6
    • Rob Pike's avatar
      net/http/httputil: fix typo in comment. · 2176869e
      Rob Pike authored
      R=golang-dev, bradfitz
      CC=golang-dev
      https://golang.org/cl/6272050
      2176869e
  3. 04 Jun, 2012 22 commits
  4. 03 Jun, 2012 2 commits