1
0
mirror of https://github.com/golang/go synced 2024-11-05 16:16:11 -07:00
go/cmd/benchcmp
Josh Bleecher Snyder e8c291b808 go.tools/cmd/benchcmp: sort by original benchmark order by default
benchcmp now preserves benchmark order. This restores the original
misc/benchcmp behavior. This also makes the output of benchcmp stable,
and groups together multiple -cpu results.

Magnitude-based sorting is still available via the -mag flag.
It is useful for surfacing items of note (particularly changes
in allocs) when making compiler changes and running broad
benchmarks.

Fixes golang/go#7259.

LGTM=dave
R=dave, mtj
CC=bradfitz, dvyukov, golang-codereviews
https://golang.org/cl/60840045
2014-02-19 07:44:49 -08:00
..
benchcmp.go go.tools/cmd/benchcmp: sort by original benchmark order by default 2014-02-19 07:44:49 -08:00
compare_test.go go.tools/cmd/benchcmp: sort by original benchmark order by default 2014-02-19 07:44:49 -08:00
compare.go go.tools/cmd/benchcmp: sort by original benchmark order by default 2014-02-19 07:44:49 -08:00
parse_test.go go.tools/cmd/benchcmp: sort by original benchmark order by default 2014-02-19 07:44:49 -08:00
parse.go go.tools/cmd/benchcmp: sort by original benchmark order by default 2014-02-19 07:44:49 -08:00