mirror of
https://github.com/golang/go
synced 2024-11-18 08:54:45 -07:00
cmd/compilebench: update document
Add document for "-go" and "-short" flag, which are listed in output of "compilebench help". Also reformat "-pkg" document to align with the rest. Change-Id: I8ce80d8e02a9cf2b94aa099aa34e53412210d61b Reviewed-on: https://go-review.googlesource.com/c/tools/+/170237 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
parent
2538eef759
commit
681f9ce8ac
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user