mirror of
https://github.com/golang/go
synced 2024-11-20 11:04:56 -07:00
net/http: fix comment
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6348062
This commit is contained in:
parent
435a001d68
commit
804e562a62
@ -1270,7 +1270,7 @@ func BenchmarkClientServer(b *testing.B) {
|
|||||||
//
|
//
|
||||||
// For use like:
|
// For use like:
|
||||||
// $ go test -c
|
// $ go test -c
|
||||||
// $ ./http.test -test.run=XX -test.bench=Benchmarktime=15 -test.cpuprofile=http.prof
|
// $ ./http.test -test.run=XX -test.bench=BenchmarkServer -test.benchtime=15 -test.cpuprofile=http.prof
|
||||||
// $ go tool pprof http.test http.prof
|
// $ go tool pprof http.test http.prof
|
||||||
// (pprof) web
|
// (pprof) web
|
||||||
func BenchmarkServer(b *testing.B) {
|
func BenchmarkServer(b *testing.B) {
|
||||||
|
Loading…
Reference in New Issue
Block a user