Commit 0cd9edf6 authored by Alberto Donizetti's avatar Alberto Donizetti Committed by Marcel van Lohuizen

cmd/go: fix proc-count accumulation in benchmark name

Fixes #14964

Change-Id: I5f772426081efaa9315c4ecaf60de850af324f1d
Reviewed-on: https://go-review.googlesource.com/21139Reviewed-by: default avatarAhmed Waheed <oneofone@gmail.com>
Reviewed-by: default avatarMarcel van Lohuizen <mpvl@golang.org>
Run-TryBot: Marcel van Lohuizen <mpvl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent ad391c90
...@@ -396,7 +396,7 @@ func (ctx *benchContext) processBench(b *B) { ...@@ -396,7 +396,7 @@ func (ctx *benchContext) processBench(b *B) {
b = &B{ b = &B{
common: common{ common: common{
signal: make(chan bool), signal: make(chan bool),
name: benchName, name: b.name,
}, },
benchFunc: b.benchFunc, benchFunc: b.benchFunc,
benchTime: b.benchTime, benchTime: b.benchTime,
......
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