Commit 3b2eb699 authored by harsimran1's avatar harsimran1 Committed by Brad Fitzpatrick

net/http/pprof: explicitly mention DefaultServeMux for default handlers

Change-Id: I224db88f3809001802e004077ce856f0e3347c67
Reviewed-on: https://go-review.googlesource.com/c/go/+/169017Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent ff4e0e42
......@@ -20,6 +20,9 @@
// log.Println(http.ListenAndServe("localhost:6060", nil))
// }()
//
// If you are not using DefaultServeMux, you will have to register handlers
// with the mux you are using.
//
// Then use the pprof tool to look at the heap profile:
//
// go tool pprof http://localhost:6060/debug/pprof/heap
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment