mirror of
https://github.com/golang/go
synced 2024-11-21 21:44:40 -07:00
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
This commit is contained in:
parent
a2ba34d374
commit
b955bbfbdb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user