Commit b955bbfb authored by Robert Griesemer's avatar Robert Griesemer

misc/benchcmp: don't require "Benchmark" at beginning of line

Output is package_name.BenchmarkXXX.

R=rsc
CC=golang-dev
https://golang.org/cl/5440123
parent a2ba34d3
......@@ -17,7 +17,7 @@ BEGIN {
n = 0
}
$1 ~ /^Benchmark/ && $4 == "ns/op" {
$1 ~ /Benchmark/ && $4 == "ns/op" {
if(old[$1]) {
if(!saw[$1]++) {
name[n++] = $1
......
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