1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:48:32 -06:00
go/benchmark/parse
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
..
parse_test.go benchmark/parse, cmd/benchcmp: new package for parsing benchmarks 2015-01-06 01:34:08 +00:00
parse.go benchmark/parse, cmd/benchcmp: new package for parsing benchmarks 2015-01-06 01:34:08 +00:00