1. 23 May, 2019 5 commits
  2. 22 May, 2019 12 commits
  3. 21 May, 2019 10 commits
  4. 20 May, 2019 11 commits
  5. 17 May, 2019 2 commits
    • Keith Randall's avatar
      testing: callerName only needs one PC in the traceback · 1ab063ce
      Keith Randall authored
      callerName requested 2 PCs from Callers, and that causes
      both to be looked up in the file/line mapping.
      We really only need to do the work for one PC.
      (And in fact the caller doesn't need file/line at all, but
      the Callers API can't express that.)
      
      We used to request 2 PCs because in 1.11 and earlier we
      stored an inline skip count in the second entry.
      That's not necessary any more (as of 1.12).
      
      Fixes #32093
      
      Change-Id: I7b272626ef6496e848ee8af388cdaafd2556857b
      Reviewed-on: https://go-review.googlesource.com/c/go/+/177858
      Run-TryBot: Keith Randall <khr@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      Reviewed-by: default avatarCaleb Spare <cespare@gmail.com>
      1ab063ce
    • Josh Bleecher Snyder's avatar
      cmd/compile: optimize postorder · 5c3f3fbd
      Josh Bleecher Snyder authored
      name        old alloc/op      new alloc/op      delta
      Template         37.1MB ± 0%       36.8MB ± 0%  -0.57%  (p=0.008 n=5+5)
      Unicode          28.1MB ± 0%       28.1MB ± 0%  -0.07%  (p=0.008 n=5+5)
      GoTypes           125MB ± 0%        124MB ± 0%  -0.61%  (p=0.008 n=5+5)
      Compiler          571MB ± 0%        568MB ± 0%  -0.60%  (p=0.008 n=5+5)
      SSA              1.88GB ± 0%       1.86GB ± 0%  -0.82%  (p=0.008 n=5+5)
      Flate            22.9MB ± 0%       22.8MB ± 0%  -0.59%  (p=0.008 n=5+5)
      GoParser         27.5MB ± 0%       27.3MB ± 0%  -0.53%  (p=0.008 n=5+5)
      Reflect          79.8MB ± 0%       79.5MB ± 0%  -0.40%  (p=0.008 n=5+5)
      Tar              34.9MB ± 0%       34.7MB ± 0%  -0.44%  (p=0.008 n=5+5)
      XML              45.7MB ± 0%       45.4MB ± 0%  -0.58%  (p=0.008 n=5+5)
      [Geo mean]       80.3MB            79.9MB       -0.52%
      
      name        old allocs/op     new allocs/op     delta
      Template           380k ± 0%         378k ± 0%  -0.57%  (p=0.008 n=5+5)
      Unicode            340k ± 0%         340k ± 0%  -0.08%  (p=0.008 n=5+5)
      GoTypes           1.36M ± 0%        1.36M ± 0%  -0.44%  (p=0.008 n=5+5)
      Compiler          5.52M ± 0%        5.49M ± 0%  -0.45%  (p=0.008 n=5+5)
      SSA               17.6M ± 0%        17.5M ± 0%  -0.42%  (p=0.008 n=5+5)
      Flate              235k ± 0%         234k ± 0%  -0.65%  (p=0.008 n=5+5)
      GoParser           302k ± 0%         300k ± 0%  -0.70%  (p=0.008 n=5+5)
      Reflect            982k ± 0%         978k ± 0%  -0.40%  (p=0.008 n=5+5)
      Tar                353k ± 0%         351k ± 0%  -0.53%  (p=0.008 n=5+5)
      XML                437k ± 0%         435k ± 0%  -0.48%  (p=0.008 n=5+5)
      [Geo mean]         844k              840k       -0.47%
      
      Updates #27739
      
      Change-Id: I5d533013270cbbd7c0bad1b43da96c8499be76f5
      Reviewed-on: https://go-review.googlesource.com/c/go/+/177917
      Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      5c3f3fbd