mirror of https://github.com/golang/go.git
cmd/benchcmp: add deprecation notice
Change-Id: Ifa408a53f6a1edba3b8e53aae2048d999a5da45c Reviewed-on: https://go-review.googlesource.com/c/tools/+/216843 Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
parent
2ef0387721
commit
a1f8cf0047
|
|
@ -32,6 +32,7 @@ benchcmp will also compare memory allocations.
|
|||
`
|
||||
|
||||
func main() {
|
||||
fmt.Fprintf(os.Stderr, "benchcmp is deprecated in favor of benchstat: https://pkg.go.dev/golang.org/x/perf/cmd/benchstat\n")
|
||||
flag.Usage = func() {
|
||||
fmt.Fprintf(os.Stderr, "usage: %s old.txt new.txt\n\n", os.Args[0])
|
||||
flag.PrintDefaults()
|
||||
|
|
|
|||
Loading…
Reference in New Issue