1. 14 Jun, 2012 4 commits
    • Shenghou Ma's avatar
      crypto/elliptic: fix doc typo · a11e74da
      Shenghou Ma authored
              Fixes #3735.
      
      R=golang-dev, agl
      CC=golang-dev
      https://golang.org/cl/6301083
      a11e74da
    • Andrew Gerrand's avatar
      tag go1.0.2 · 71a1673c
      Andrew Gerrand authored
      R=golang-dev, rsc, dsymonds, minux.ma
      CC=golang-dev
      https://golang.org/cl/6305089
      71a1673c
    • Andrew Gerrand's avatar
      doc: document go1.0.2 · 00e8a3ae
      Andrew Gerrand authored
      R=golang-dev, dave, rsc
      CC=golang-dev
      https://golang.org/cl/6298079
      00e8a3ae
    • Nigel Tao's avatar
      cmd/gc: inline convT2E when T is uintptr-shaped. · 8f84328f
      Nigel Tao authored
      GOARCH=amd64 benchmarks
      
      src/pkg/runtime
      benchmark                  old ns/op    new ns/op    delta
      BenchmarkConvT2ESmall             10           10   +1.00%
      BenchmarkConvT2EUintptr            9            0  -92.07%
      BenchmarkConvT2EBig               74           74   -0.27%
      BenchmarkConvT2I                  27           26   -3.62%
      BenchmarkConvI2E                   4            4   -7.05%
      BenchmarkConvI2I                  20           19   -2.99%
      
      test/bench/go1
      benchmark                 old ns/op    new ns/op    delta
      BenchmarkBinaryTree17    5930908000   5937260000   +0.11%
      BenchmarkFannkuch11      3927057000   3933556000   +0.17%
      BenchmarkGobDecode         21998090     21870620   -0.58%
      BenchmarkGobEncode         12725310     12734480   +0.07%
      BenchmarkGzip             567617600    567892800   +0.05%
      BenchmarkGunzip           178284100    178706900   +0.24%
      BenchmarkJSONEncode        87693550     86794300   -1.03%
      BenchmarkJSONDecode       314212600    324115000   +3.15%
      BenchmarkMandelbrot200      7016640      7073766   +0.81%
      BenchmarkParse              7852100      7892085   +0.51%
      BenchmarkRevcomp         1285663000   1286147000   +0.04%
      BenchmarkTemplate         566823800    567606200   +0.14%
      
      I'm not entirely sure why the JSON* numbers have changed, but
      eyeballing the profile suggests that it could be spending less
      and more time in runtime.{new,old}stack, so it could simply be
      stack-split boundary noise.
      
      R=rsc, dave, bsiegert, dsymonds
      CC=golang-dev
      https://golang.org/cl/6280049
      8f84328f
  2. 13 Jun, 2012 16 commits
  3. 12 Jun, 2012 2 commits
  4. 11 Jun, 2012 3 commits
  5. 10 Jun, 2012 1 commit
  6. 08 Jun, 2012 9 commits
    • Dave Cheney's avatar
      runtime: use uintptr where possible in malloc stats · 0b09425b
      Dave Cheney authored
      linux/arm OMAP4 pandaboard
      
      benchmark                 old ns/op    new ns/op    delta
      BenchmarkBinaryTree17   68723297000  37026214000  -46.12%
      BenchmarkFannkuch11     34962402000  35958435000   +2.85%
      BenchmarkGobDecode        137298600    124182150   -9.55%
      BenchmarkGobEncode         60717160     60006700   -1.17%
      BenchmarkGzip            5647156000   5550873000   -1.70%
      BenchmarkGunzip          1196350000   1198670000   +0.19%
      BenchmarkJSONEncode       863012800    782898000   -9.28%
      BenchmarkJSONDecode      3312989000   2781800000  -16.03%
      BenchmarkMandelbrot200     45727540     45703120   -0.05%
      BenchmarkParse             74781800     59990840  -19.78%
      BenchmarkRevcomp          140043650    139462300   -0.42%
      BenchmarkTemplate        6467682000   5832153000   -9.83%
      
      benchmark                  old MB/s     new MB/s  speedup
      BenchmarkGobDecode             5.59         6.18    1.11x
      BenchmarkGobEncode            12.64        12.79    1.01x
      BenchmarkGzip                  3.44         3.50    1.02x
      BenchmarkGunzip               16.22        16.19    1.00x
      BenchmarkJSONEncode            2.25         2.48    1.10x
      BenchmarkJSONDecode            0.59         0.70    1.19x
      BenchmarkParse                 0.77         0.97    1.26x
      BenchmarkRevcomp              18.15        18.23    1.00x
      BenchmarkTemplate              0.30         0.33    1.10x
      
      darwin/386 core duo
      
      benchmark                 old ns/op    new ns/op    delta
      BenchmarkBinaryTree17   10591616577   9678245733   -8.62%
      BenchmarkFannkuch11     10758473315  10749303846   -0.09%
      BenchmarkGobDecode         34379785     34121250   -0.75%
      BenchmarkGobEncode         23523721     23475750   -0.20%
      BenchmarkGzip            2486191492   2446539568   -1.59%
      BenchmarkGunzip           444179328    444250293   +0.02%
      BenchmarkJSONEncode       221138507    219757826   -0.62%
      BenchmarkJSONDecode      1056034428   1048975133   -0.67%
      BenchmarkMandelbrot200     19862516     19868346   +0.03%
      BenchmarkRevcomp         3742610872   3724821662   -0.48%
      BenchmarkTemplate         960283112    944791517   -1.61%
      
      benchmark                  old MB/s     new MB/s  speedup
      BenchmarkGobDecode            22.33        22.49    1.01x
      BenchmarkGobEncode            32.63        32.69    1.00x
      BenchmarkGzip                  7.80         7.93    1.02x
      BenchmarkGunzip               43.69        43.68    1.00x
      BenchmarkJSONEncode            8.77         8.83    1.01x
      BenchmarkJSONDecode            1.84         1.85    1.01x
      BenchmarkRevcomp              67.91        68.24    1.00x
      BenchmarkTemplate              2.02         2.05    1.01x
      
      R=rsc, 0xe2.0x9a.0x9b, mirtchovski
      CC=golang-dev, minux.ma
      https://golang.org/cl/6297047
      0b09425b
    • Robert Griesemer's avatar
      math/big: added nat.trailingZeroBits, simplified some code · 014d036d
      Robert Griesemer authored
      Will simplify implementation of binaryGCD.
      
      R=rsc, cswenson
      CC=golang-dev
      https://golang.org/cl/6299064
      014d036d
    • Russ Cox's avatar
      syscall: unexport GetCurrentProcessId on Windows · 7762a9dc
      Russ Cox authored
      This slipped in with the implementation of Getpid in CL 5909043.
      I'd exclude that CL entirely but it is tangled up in the Win32finddata changes.
      
      R=golang-dev, minux.ma
      CC=golang-dev
      https://golang.org/cl/6297065
      7762a9dc
    • Russ Cox's avatar
      syscall: fix windows build · 56f5e6d8
      Russ Cox authored
      TBR=bradfitz
      CC=golang-dev
      https://golang.org/cl/6303061
      56f5e6d8
    • Russ Cox's avatar
      syscall: revert API changes in Windows Win32finddata fix. · 7ad37673
      Russ Cox authored
      Preserve old API by using correct struct in system call
      and then copying the results, as we did for SetsockoptLinger.
      
      R=golang-dev, bradfitz
      CC=golang-dev
      https://golang.org/cl/6307065
      7ad37673
    • Russ Cox's avatar
      cmd/api: handle empty API file, ignore -next in release · 0c2f0cca
      Russ Cox authored
      R=golang-dev, bradfitz
      CC=golang-dev
      https://golang.org/cl/6298063
      0c2f0cca
    • Russ Cox's avatar
      regexp/syntax: unexport ErrUnexpectedParen · 50452720
      Russ Cox authored
      This new error is the only API change in the current draft of
      Go 1.0.2 CLs. I'd like to include the CL that introduced it,
      because it replaces a mysterious 'internal error' with a
      useful error message, but I don't want any API changes,
      so unexport the error constant for now. It can be
      re-exported for Go 1.1.
      
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/6294055
      50452720
    • Nigel Tao's avatar
    • Dave Cheney's avatar
      cmd/5c, cmd/5g, cmd/5l: fix cross compilation failure on darwin · 072e36d5
      Dave Cheney authored
      Fixes #3708.
      
      The fix to allow 5{c,g,l} to compile under clang 3.1 broke cross
      compilation on darwin using the Apple default compiler on 10.7.3.
      
      This failure was introduced in 9b455eb64690.
      
      This has been tested by cross compiling on darwin/amd64 to linux/arm using
      
      * gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
      * clang version 3.1 (branches/release_31)
      
      As well as on linux/arm using
      
      * gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
      * Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
      * Debian clang version 3.1-4 (branches/release_31) (based on LLVM 3.1)
      
      R=consalus, rsc
      CC=golang-dev
      https://golang.org/cl/6307058
      072e36d5
  7. 07 Jun, 2012 5 commits