1
0
mirror of https://github.com/golang/go synced 2024-10-05 05:01:22 -06:00
go/src/cmd
Josh Bleecher Snyder 028247d2cd cmd/compile: reuse []Flow
Benchmarked using compilebench on a quiet
but rather old OS X laptop.

Benchmarks from others would be welcome,
since the numbers look too good to be true.

name      old time/op    new time/op    delta
Template     331ms ± 9%     303ms ± 4%   -8.25%  (p=0.000 n=24+24)
GoTypes      946ms ± 4%     888ms ± 3%   -6.17%  (p=0.000 n=24+25)
Compiler     3.20s ± 1%     3.10s ± 2%   -3.07%  (p=0.000 n=24+25)

name      old alloc/op   new alloc/op   delta
Template    72.5MB ± 0%    61.8MB ± 0%  -14.76%  (p=0.000 n=25+24)
GoTypes      224MB ± 0%     189MB ± 0%  -15.65%  (p=0.000 n=25+25)
Compiler     695MB ± 0%     561MB ± 0%  -19.26%  (p=0.000 n=25+25)

name      old allocs/op  new allocs/op  delta
Template      498k ± 0%      497k ± 0%   -0.21%  (p=0.000 n=25+23)
GoTypes      1.47M ± 0%     1.47M ± 0%   -0.25%  (p=0.000 n=25+25)
Compiler     4.09M ± 0%     4.08M ± 0%   -0.18%  (p=0.000 n=25+23)

Change-Id: I2394bc748128d721863453257fa5756c410f7898
Reviewed-on: https://go-review.googlesource.com/19771
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-02-22 18:22:48 +00:00
..
addr2line cmd/addr2line: simplify windows test 2015-06-17 14:23:20 +00:00
api cmd/api: fix benchmark to ignore internal packages 2016-02-20 01:58:38 +00:00
asm cmd/asm: remove support for amd64 3DNow! instructions 2016-02-19 01:35:13 +00:00
cgo all: use cannot instead of can not 2016-02-21 15:35:50 +00:00
compile cmd/compile: reuse []Flow 2016-02-22 18:22:48 +00:00
cover cmd/cover: allow part selection to be retained across page refreshes 2015-11-27 06:13:12 +00:00
dist cmd/dist: accept "//+build" with no spaces, like go/build 2016-02-19 01:37:51 +00:00
doc cmd/doc: search the tree in breadth-first order 2015-12-10 18:08:16 +00:00
fix cmd/fix: add gotypes module 2015-07-17 01:47:14 +00:00
go all: use cannot instead of can not 2016-02-21 15:35:50 +00:00
gofmt cmd/gofmt: Ignore file not found errors. 2016-02-19 00:13:18 +00:00
internal cmd/internal/obj: hoist fieldtrack code out of x86 back end 2016-02-19 01:37:46 +00:00
link cmd/link: typo in error message 2016-02-20 20:16:17 +00:00
newlink cmd/internal/obj/mips: added support for GOARCH=mips64{,le} 2015-11-12 04:42:44 +00:00
nm all: extract "can I exec?" check from tests into internal/testenv 2015-06-16 18:07:36 +00:00
objdump cmd/objdump: skip TestDisasm* for mips64{,le} 2015-09-10 18:27:09 +00:00
pack all: extract "can I exec?" check from tests into internal/testenv 2015-06-16 18:07:36 +00:00
pprof cmd/pprof: fix scaling of "gigabyte" unit 2015-12-17 16:38:28 +00:00
trace cmd/trace: don't fail when no browser is available 2015-08-21 20:02:23 +00:00
vet cmd/vet: don't crash in cgo checker if type is unknown 2016-02-03 03:34:02 +00:00
yacc cmd/yacc: memory allocation improvements 2015-11-26 17:42:14 +00:00