Commit ae16c2a9 authored by Russ Cox's avatar Russ Cox

benchstat: fix bad merge; AddFile now AddConfig

Change-Id: Ib710cac2d82ccd37821cd78b33550368c242d266
Reviewed-on: https://go-review.googlesource.com/36026
Run-TryBot: Russ Cox <rsc@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 0210f859
......@@ -138,7 +138,7 @@ func (c *Collection) addMetrics(key Key) *Metrics {
// AddFile adds the benchmark results in the formatted data
// to the named configuration.
func (c *Collection) AddFile(config string, data []byte) {
func (c *Collection) AddConfig(config string, data []byte) {
c.Configs = append(c.Configs, config)
key := Key{Config: config}
c.addText(key, string(data))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment