1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:54:42 -07:00
go/cmd
Josh Bleecher Snyder 285f6fe2f6 go.tools/cmd/benchcmp: add benchcmp
This is intended to replace the awk-based misc/benchcmp.
It mostly matches the existing misc/benchcmp.
Notable changes:

* Written in Go.
* Minor whitespace changes in the output; the tabular nature of the
  output is preserved, as is most number formatting and verbiage.
* Comparisons within each section are sorted from highest change to lowest.
* Proper handling of multiple benchmarks with the same name (issue 7016).
* Does not omit benchmark comparisons for which the new value is zero.
* Adds -changed flag to only show benchmarks whose value have changed.
  Useful for memory-oriented, large-scale benchmark comparisons.
* Has tests.
* Formats small ns measurements with extra precision.

Updates golang/go#7016.

LGTM=r
R=golang-codereviews, dave, dvyukov, oleku.konko, bradfitz, gobot, r
CC=golang-codereviews
https://golang.org/cl/47980043
2014-01-31 15:39:59 -08:00
..
benchcmp go.tools/cmd/benchcmp: add benchcmp 2014-01-31 15:39:59 -08:00
cover go.tools/cover: split parsing code out from cmd/cover 2013-12-03 20:55:21 -08:00
godoc godoc: test fixes for recent cmdline changes. 2014-01-30 15:32:23 -05:00
goimports go.tools/cmd/goimports: Fixed url 2014-01-02 11:02:13 -08:00
gotype cmd/gotype: add -gccgo flag 2014-01-08 15:25:17 -08:00
html2article go.tools/cmd/html2article: move command from go.blog repository 2013-09-27 10:40:53 +10:00
oracle go.tools: rename packages. 2014-01-16 09:33:58 -05:00
ssadump go.tools: rename packages. 2014-01-16 09:33:58 -05:00
vet go.tools/go/types: combine Info.{Types,Values} maps. 2014-01-28 16:46:24 -05:00