diff --git a/cmd/compilebench/main.go b/cmd/compilebench/main.go index 915c8adbba..88900fc00e 100644 --- a/cmd/compilebench/main.go +++ b/cmd/compilebench/main.go @@ -28,6 +28,9 @@ // -cpuprofile file // Write a CPU profile of the compiler to file. // +// -go path +// Path to "go" command (default "go"). +// // -memprofile file // Write a memory profile of the compiler to file. // @@ -37,12 +40,15 @@ // -obj // Report object file statistics. // -// -pkg +// -pkg pkg // Benchmark compiling a single package. // // -run regexp // Only run benchmarks with names matching regexp. // +// -short +// Skip long-running benchmarks. +// // Although -cpuprofile and -memprofile are intended to write a // combined profile for all the executed benchmarks to file, // today they write only the profile for the last benchmark executed.