commit | a44b9fb0b54bf11ab084d9b57a108fd2ede833f0 | [log] [tgz] |
---|---|---|
author | Austin Clements <austin@google.com> | Wed Nov 08 12:16:23 2023 -0500 |
committer | Gopher Robot <gobot@golang.org> | Wed Nov 08 18:04:06 2023 +0000 |
tree | 6b87c10a8c0f4a2d3f92d0c7f0460cf223602be7 | |
parent | cd219cffda851d4c7f5680490a7be0396bfa2fe0 [diff] |
benchfmt: ignore just benchmark name on a line "go test -v" prints just the benchmark name followed by a newline when starting each benchmark. Currently, this causes benchfmt to report a "missing iteration count" error on these lines. Make the parser ignore this specific case. Fixes golang/go#58528. Change-Id: I92032d10f3cd3d4c8e867674c1905df9123f13fc Reviewed-on: https://go-review.googlesource.com/c/perf/+/540795 Auto-Submit: Austin Clements <austin@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com>
This subrepository holds tools and packages for analyzing Go benchmark results, such as the output of testing package benchmarks.
This subrepository contains command-line tools for analyzing benchmark result data.
cmd/benchstat computes statistical summaries and A/B comparisons of Go benchmarks.
cmd/benchfilter filters the contents of benchmark result files.
cmd/benchsave publishes benchmark results to perf.golang.org.
To install all of these commands, run go install golang.org/x/perf/cmd/...@latest
. You can also git clone https://go.googlesource.com/perf
and run go install ./cmd/...
in the checkout.
Underlying the above tools are several packages for working with benchmark data. These are designed to work together, but can also be used independently.
benchfmt reads and writes the Go benchmark format.
benchunit manipulates benchmark units and formats numbers in those units.
benchproc provides tools for filtering, grouping, and sorting benchmark results.
benchmath provides tools for computing statistics over distributions of benchmark measurements.
The following packages are deprecated and no longer supported:
storage contains a deprecated version of the https://perfdata.golang.org/ benchmark result storage system. These packages have moved to https://golang.org/x/build.
analysis contains a deprecated version of the https://perf.golang.org/ benchmark result analysis system. These packages have moved to https://golang.org/x/build.
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.