commit | eeb76a0c47a3b97e99f330dc14174ef14777d2ba | [log] [tgz] |
---|---|---|
author | Austin Clements <austin@google.com> | Tue May 07 20:42:40 2019 -0400 |
committer | Austin Clements <austin@google.com> | Thu May 09 00:13:07 2019 +0000 |
tree | 23241a23a38eb9464d5d9514f0d8d72d9e0e49fa | |
parent | 8a42e17289ea392d63892321ce1f40bd07efcc9f [diff] |
compilebench: factor running build tool commands We do a lot of sophisticated things around running the compile command to gather benchmark metrics from it. We're about to add a benchmark for the linker and will want all of the same mechanism. This CL factors this out into a function. Change-Id: I499d15d30417618f372982404ceb3e0f9c762e5c Reviewed-on: https://go-review.googlesource.com/c/tools/+/175800 Run-TryBot: Austin Clements <austin@google.com> Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Cherry Zhang <cherryyz@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.