1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:54:44 -07:00
go/cmd/benchcmp
Dominik Honnef 0ff6678340 benchmark/parse, cmd/benchcmp: new package for parsing benchmarks
Move the parser for benchmark output from cmd/benchcmp into its own
package, benchmark/parse.

The majority of the change is just moving code around. Instead of
implementing the '-best' flag in ParseBenchSet, it is now implemented in
its own function 'selectBest' in cmd/benchcmp.

Bench.Ord (the ordinal position of a Bench within a BenchSet) has been
exported.

Change-Id: Id27032a220f9ff2596117b58b86243998695a804
Reviewed-on: https://go-review.googlesource.com/2102
Reviewed-by: Rob Pike <r@golang.org>
2015-01-06 01:34:08 +00:00
..
benchcmp_test.go benchmark/parse, cmd/benchcmp: new package for parsing benchmarks 2015-01-06 01:34:08 +00:00
benchcmp.go benchmark/parse, cmd/benchcmp: new package for parsing benchmarks 2015-01-06 01:34:08 +00:00
compare_test.go benchmark/parse, cmd/benchcmp: new package for parsing benchmarks 2015-01-06 01:34:08 +00:00
compare.go benchmark/parse, cmd/benchcmp: new package for parsing benchmarks 2015-01-06 01:34:08 +00:00
doc.go tools: add import comments. 2014-12-09 22:42:16 +00:00