commit | 4651fa30542f4f2b7c868194e30c535d65d0ccda | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Tue Jun 02 17:42:13 2020 -0400 |
committer | Heschi Kreinick <heschi@google.com> | Fri Jun 12 20:10:52 2020 +0000 |
tree | 5559ae7e6dd44efc2d40e72ca219ed87262deb41 | |
parent | e8084ff2bf722612bf2767613d7446ca15d94c87 [diff] |
internal/lsp/debug: show per-package memory usage Calculate and display very crude memory usage statistics. This is complicated by various levels of sharing and indirection, so the numbers should be taken with *large* grains of salt and interpreted mostly by experts. Still, the results are interesting and helpful. Change-Id: Ia9aff974c7d5fddd63df0cfd5cecc08ead33cf84 Reviewed-on: https://go-review.googlesource.com/c/tools/+/236163 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@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 prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
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.