commit | 35a1a84a6b06754f46ba76726c516ef4cfc7f0c9 | [log] [tgz] |
---|---|---|
author | Quentin Smith <quentin@golang.org> | Tue Mar 14 19:23:07 2017 -0400 |
committer | Quentin Smith <quentin@golang.org> | Fri Mar 31 15:06:45 2017 +0000 |
tree | 675332c9d19261c1224e9389e23f3a514d56ea4f | |
parent | e2bd313645635631d9eb17b8f92963d92ec068e8 [diff] |
storage, cmd/benchsave: move upload logic into Client Change-Id: Ie2cafb6ee0fe30860803cc332133fc1922857831 Reviewed-on: https://go-review.googlesource.com/38304 Run-TryBot: Quentin Smith <quentin@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@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.