commit | 347e551a82e9557802d7c1b5c616711f32ca5ee6 | [log] [tgz] |
---|---|---|
author | Quentin Smith <quentin@golang.org> | Wed Apr 05 11:18:15 2017 -0400 |
committer | Quentin Smith <quentin@golang.org> | Fri Apr 07 18:53:37 2017 +0000 |
tree | 1078c847ab5a5b0ad58e0a9eb881a72809bf4cce | |
parent | add18dd08e6be79a3a9beb0d810efac191ce1eae [diff] |
storage/db: mysql specialization for ListUploads MySQL requires HAVING to refer to a column from a subquery, but SQLite requires WHERE since the query is not an aggregation. Plumb through the driver name so ListUploads can change its query slightly. Change-Id: I07bb8010824d7e2362e203a68fed7bb968d5fe40 Reviewed-on: https://go-review.googlesource.com/39614 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.