|author||Quentin Smith <firstname.lastname@example.org>||Thu Mar 30 20:32:53 2017 -0400|
|committer||Quentin Smith <email@example.com>||Fri Mar 31 15:54:18 2017 +0000|
storage/db: ListUploads shouldn't return empty uploads The Uploads table gets an entry when a user or the server aborts an upload in mid-upload. The Records table is cleaned up by the transaction, but the Uploads entry is left behind. The optimized query that is used for the perf.golang.org homepage did not properly exclude these uploads that have no records. Change-Id: I8322af5946c233e5cb4b15bf57d9487bcd1e6423 Reviewed-on: https://go-review.googlesource.com/39051 Run-TryBot: Quentin Smith <firstname.lastname@example.org> TryBot-Result: Gobot Gobot <email@example.com> Reviewed-by: Russ Cox <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 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
Contributions to Go are appreciated. See http://golang.org/doc/contribute.html.