diff options
| author | Ian Lance Taylor <iant@golang.org> | 2019-09-09 19:54:41 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2019-09-10 14:25:46 +0000 |
| commit | f668573a5e708db399688c9441cf5ec2eb2f29b0 (patch) | |
| tree | f42bf74d599c1de3be680dd95dde11696b4886e2 /src/encoding/json | |
| parent | 5c5f217b635d5bcbbda482f92264265eb61c13f2 (diff) | |
| download | go-f668573a5e708db399688c9441cf5ec2eb2f29b0.tar.xz | |
cmd/go: for gccgo, look for tool build ID before hashing entire file
Also fix the key used to store the ID.
This is a significant speedup in cmd/go run time when using an
unreleased toolchain. For example, the TestGoBuildTestOnly cmd/go test
goes from 15 seconds to 1 second.
Change-Id: Ibfd697d55084db059c6b563f70f71f635e935391
Reviewed-on: https://go-review.googlesource.com/c/go/+/194441
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'src/encoding/json')
0 files changed, 0 insertions, 0 deletions
