commit | 4ccd092f47c954d1f5224a270a26c942eecffbe8 | [log] [tgz] |
---|---|---|
author | Josh Bleecher Snyder <josharian@gmail.com> | Sun Mar 10 18:34:09 2019 -0700 |
committer | Josh Bleecher Snyder <josharian@gmail.com> | Thu Mar 14 00:31:01 2019 +0000 |
tree | cdd3960394bda60ef6606a40f57fc458690cc0c6 | |
parent | a10017ccd2b9f00ddbb45c5f7e522b352da97888 [diff] |
cmd/compilebench: generate separate mem profiles when using -count When the -count flag is provided, instead of having each run overwrite the previous profile, add a count suffix to the profile filename. Then you can combine the profiles with go tool pprof `go tool -n compile` <all profile files here> This was done for CPU profiles in https://golang.org/cl/39718. Change-Id: I4aa66d745fe18088655fc1d9cf3ecf29f68370bb Reviewed-on: https://go-review.googlesource.com/c/tools/+/166523 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.