commit | a1b99499bab64a73929f3ed7c2103c28d30e9ac2 | [log] [tgz] |
---|---|---|
author | Eric Chiang <ericchiang@google.com> | Thu Sep 08 10:03:50 2022 -0700 |
committer | Austin Clements <austin@google.com> | Fri Sep 16 20:21:30 2022 +0000 |
tree | d85ba4cf5bddd307f0aa106db5cb52ccbe0e7bfc | |
parent | 6646f2032b55bf51af25b8b10640d42cee08424e [diff] |
cmd/benchstat: add examples to README for populating old.txt and new.txt benchcmp had similar examples and I found them easier than remembering the exact commands to run. https://pkg.go.dev/golang.org/x/tools/cmd/benchcmp Change-Id: I539e34774d1f09762c164e633680ee1e7157499d Reviewed-on: https://go-review.googlesource.com/c/perf/+/429555 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Austin Clements <austin@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/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.