go/src/cmd
Koichi Shiraishi 88b8a16089 cmd/cover: replace code using optimized golang.org/x/tools/cover
After CL 179377, this change deletes all the prior cmd/cover code
and instead vendors and type aliases code using the significantly
optimized  golang.org/x/tools/cover, which sped up ParseProfiles by
manually parsing profiles instead of a regex. The speed up was:

name         old time/op   new time/op   delta
ParseLine-12 2.43µs ± 2%   0.05µs ± 8%   -97.98% (p=0.000 n=10+9)

name         old speed     new speed       delta
ParseLine-12 42.5MB/s ± 2% 2103.2MB/s ± 7% +4853.14% (p=0.000 n=10+9)

Fixes #32211.

Change-Id: Ie4e8be7502f25eb95fae7a9d8334fc97b045d53f
Reviewed-on: https://go-review.googlesource.com/c/go/+/249759
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>
2021-03-14 13:09:57 +00:00
..
addr2line
api all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
asm cmd/internal/obj/arm64: add support for op(extended register) with RSP arguments 2021-03-12 01:47:01 +00:00
buildid
cgo cmd/go, cmd/cgo: pass -mfp32 and -mhard/soft-float to MIPS GCC 2021-02-24 15:48:11 +00:00
compile cmd/compile/internal/ssa: prealloc slice 2021-03-13 18:09:48 +00:00
cover cmd/cover: replace code using optimized golang.org/x/tools/cover 2021-03-14 13:09:57 +00:00
dist cmd: move GOEXPERIMENT knob from make.bash to cmd/go 2021-03-11 21:43:04 +00:00
doc all: introduce and use internal/execabs 2021-01-21 19:10:18 +00:00
fix all: introduce and use internal/execabs 2021-01-21 19:10:18 +00:00
go all: remove duplicate words 2021-03-13 11:56:59 +00:00
gofmt cmd/gofmt: fix const association to avoid inaccurate comment 2021-03-10 17:10:00 +00:00
internal all: remove duplicate words 2021-03-13 11:56:59 +00:00
link all: remove duplicate words 2021-03-13 11:56:59 +00:00
nm all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
objdump
pack
pprof all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
test2json all: introduce and use internal/execabs 2021-01-21 19:10:18 +00:00
trace all: use HTML5 br tags 2021-03-13 03:38:42 +00:00
vendor cmd/cover: replace code using optimized golang.org/x/tools/cover 2021-03-14 13:09:57 +00:00
vet cmd/vet: bring in sigchanyzer to report unbuffered channels to signal.Notify 2021-03-08 23:13:52 +00:00
README.vendor
go.mod cmd/go: test remote lookup of packages with leading dots in path elements 2021-03-10 20:52:20 +00:00
go.sum cmd/go: test remote lookup of packages with leading dots in path elements 2021-03-10 20:52:20 +00:00

README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.