|author||Michael Pratt <email@example.com>||Thu Mar 10 17:00:47 2022 -0500|
|committer||Michael Pratt <firstname.lastname@example.org>||Thu Mar 17 18:52:26 2022 +0000|
influx: InfluxDB instance setup This CL creates a Docker image for running an InfluxDB instance for the Go performance monitoring dashboard. The image is based on the Google-maintained GCP InfluxDB 2 image, with an additional small program to perform initial database setup and push access credentials to Google Secret Manager. See README.md for instructions on running the image locally or on GCP. For golang/go#48803 Change-Id: Ica34bd624f6daf89e483f898b110ccaceac83559 Reviewed-on: https://go-review.googlesource.com/c/perf/+/392635 Trust: Michael Pratt <email@example.com> Run-TryBot: Michael Pratt <firstname.lastname@example.org> TryBot-Result: Gopher Robot <email@example.com> Reviewed-by: Michael Knyszek <firstname.lastname@example.org>
This subrepository holds the source for various packages and tools related to performance measurement, storage, and analysis.
cmd/benchstat contains a command-line tool that computes and compares statistics about benchmarks.
cmd/benchsave contains a command-line tool for publishing benchmark results.
Both storage and analysis can be run locally; the following commands will run the complete stack on your machine with an in-memory datastore.
go install golang.org/x/perf/storage/localperfdata@latest go install golang.org/x/perf/analysis/localperf@latest localperfdata -addr=:8081 -view_url_base=http://localhost:8080/search?q=upload: & localperf -addr=:8080 -storage=http://localhost:8081
The easiest way to install is to run
go install golang.org/x/perf/cmd/...@latest. You can also manually git clone the repository and run
go install golang.org/x/perf/cmd/....
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 perf repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/perf:” in the subject line, so it is easy to find.