diff --git a/script/benchstat-ratio.go b/script/benchstat-ratio.go index 50bcd12d..0925b44f 100644 --- a/script/benchstat-ratio.go +++ b/script/benchstat-ratio.go @@ -192,7 +192,7 @@ func baselineKeyFor(key string) (bKey string) { } j := strings.IndexByte(key[i:], '/') if j < 0 { - return "" + j = len(key) - i } return key[:1] + *baseline + key[i:i+j] + gccSuffix }