|author||cui fliter <firstname.lastname@example.org>||Mon Sep 19 09:19:56 2022 +0000|
|committer||Gopher Robot <email@example.com>||Tue Sep 20 02:28:01 2022 +0000|
benchfmt: use constant to avoid repeated definitions Change-Id: I5e1d09c6c5706f5d26cba9d3fadd215e609983c9 GitHub-Last-Rev: acb9c808508b84fcdd9dd1df974e6f9a18c66a00 GitHub-Pull-Request: golang/perf#7 Reviewed-on: https://go-review.googlesource.com/c/perf/+/431635 TryBot-Result: Gopher Robot <firstname.lastname@example.org> Reviewed-by: Ian Lance Taylor <email@example.com> Run-TryBot: Ian Lance Taylor <firstname.lastname@example.org> Reviewed-by: Cherry Mui <email@example.com> Auto-Submit: Ian Lance Taylor <firstname.lastname@example.org>
This subrepository contains command-line tools for analyzing benchmark result data.
cmd/benchstat computes statistical summaries and A/B comparisons of Go benchmarks.
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:
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.