]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: better advice for heap profiling
authorDmitriy Vyukov <dvyukov@google.com>
Mon, 10 Feb 2014 14:59:07 +0000 (18:59 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Mon, 10 Feb 2014 14:59:07 +0000 (18:59 +0400)
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/60760048

src/cmd/go/test.go

index dfd24d836cdc84524d4f4d20675194ef6d35cdbe..8e5d003031ac5f2a37ba3e13ff9d26555069a4ae 100644 (file)
@@ -168,9 +168,7 @@ control the execution of any test:
            Enable more precise (and expensive) memory profiles by setting
            runtime.MemProfileRate.  See 'godoc runtime MemProfileRate'.
            To profile all memory allocations, use -test.memprofilerate=1
-           and set the environment variable GOGC=off to disable the
-           garbage collector, provided the test can run in the available
-           memory without garbage collection.
+           and pass --alloc_space flag to pprof tool.
 
        -outputdir directory
            Place output files from profiling in the specified directory,