]> Cypherpunks repositories - gostls13.git/commit
cmd/pprof: use the test binary as 'pprof' instead of rebuilding it
authorBryan C. Mills <bcmills@google.com>
Tue, 15 Nov 2022 15:47:00 +0000 (10:47 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 15 Nov 2022 20:24:40 +0000 (20:24 +0000)
commita68f9113a2d4043ef28d2e4395485ee187e5532d
tree3fd343176d3b8cfaaad5ebec9baa14cc8a0c48e7
parent3e1519d05a640701e1a2f1d9ba737fc912a1b624
cmd/pprof: use the test binary as 'pprof' instead of rebuilding it

This not only reduces the latency of the test, but also respects
build flags like '-race' and '-cover' passed to the 'go test' command.

Change-Id: Icdf256420c4dce2da7a187513b7dd08393b76146
Reviewed-on: https://go-review.googlesource.com/c/go/+/450708
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/cmd/pprof/pprof_test.go