From b955bbfbdbe070d65910f76dcd09276d16978e52 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 7 Dec 2011 10:30:08 -0800 Subject: [PATCH] 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 --- misc/benchcmp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/benchcmp b/misc/benchcmp index 110c3429e31..24382b2bfd5 100755 --- a/misc/benchcmp +++ b/misc/benchcmp @@ -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