1 #go test -run=none -file bench_test.go -test.bench . -cpuprofile=bench_test.out
4 ./go-restful.test -test.run=none -test.cpuprofile=tmp.prof -test.bench=BenchmarkMany
5 ./go-restful.test -test.run=none -test.cpuprofile=curly.prof -test.bench=BenchmarkManyCurly
7 #go tool pprof go-restful.test tmp.prof
8 go tool pprof go-restful.test curly.prof