go/src/cmd/api
Russ Cox b864818494 cmd/api: read std package info once, not per goos-goarch-cgo
Cuts api test time from 12.7r 26.2u 14.2s to 7.5r 12.1u 2.2s.

After this change, all.bash runs in ~4:36 on my laptop.

For #26473.

Change-Id: I4211e6afcd7ab61a4ed2c9a2aa5ac1ea04982695
Reviewed-on: https://go-review.googlesource.com/c/go/+/177597
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-05-21 18:14:40 +00:00
..
testdata/src cmd/api: fix no go files package panic 2019-03-04 15:32:18 +00:00
goapi.go cmd/api: read std package info once, not per goos-goarch-cgo 2019-05-21 18:14:40 +00:00
goapi_test.go cmd/api: fix no go files package panic 2019-03-04 15:32:18 +00:00
run.go