mirror of
https://github.com/golang/go
synced 2024-11-05 17:26:11 -07:00
222283a9c8
If you have multiple runs in old.txt and new.txt the default behavior is to match them up pairwise and compare successive pairs (and if you have a different number of runs in each file, benchcmp refuses to do anything). The new -best flag changes the behavior to instead compare the fastest run of each benchmark from the two files. This makes sense if you believe that the fastest speed is the 'actual' speed and the slower results are due to the computer spending time doing non-benchmark work while the benchmark was running. LGTM=josharian R=golang-codereviews, josharian CC=golang-codereviews https://golang.org/cl/102890047 |
||
---|---|---|
.. | ||
benchcmp.go | ||
compare_test.go | ||
compare.go | ||
doc.go | ||
parse_test.go | ||
parse.go |