commit | e95bb831a4939f652baec0c57418d4c9d6d81133 | [log] [tgz] |
---|---|---|
author | Austin Clements <austin@google.com> | Mon Mar 13 14:28:33 2017 -0400 |
committer | Austin Clements <austin@google.com> | Tue Mar 14 21:45:14 2017 +0000 |
tree | 37df4d2936a6f23b298c75e15ae0ceb1c96cb106 | |
parent | bb8119dd82183585db53d337a0ab9c9a5b49bb52 [diff] |
benchstat: don't print geomean of just one benchmark If there's just one benchmark, the geomean will be the same as the benchmark result. Omit it. Change-Id: Id165fa127aa8615015511d6a1da6e1be48b85539 Reviewed-on: https://go-review.googlesource.com/38093 Reviewed-by: Quentin Smith <quentin@golang.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.
storage contains the https://perfdata.golang.org/ benchmark result storage system.
analysis contains the https://perf.golang.org/ benchmark result analysis system.
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 get -u golang.org/x/perf/storage/localperfdata go get -u golang.org/x/perf/analysis/localperf localperfdata -addr=:8081 -view_url_base=http://localhost:8080/search?q=upload: & localperf -addr=:8080 -storage=localhost:8081
The storage system is designed to have a standardized API, and we encourage additional analysis tools to be written against the API. A client can be found in the storage package.
Contributions to Go are appreciated. See http://golang.org/doc/contribute.html.