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: 's avatarAhmed Waheed <oneofone@gmail.com>
Reviewed-by: 's 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) {
b = &B{
common: common{
signal: make(chan bool),
name: benchName,
name: b.name,
},
benchFunc: b.benchFunc,
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