blob: 47ffbe4ac9d5e1728e9df87cc61087ff8bbaff9d [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001#go test -run=none -file bench_test.go -test.bench . -cpuprofile=bench_test.out
2
3go test -c
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
6
7#go tool pprof go-restful.test tmp.prof
8go tool pprof go-restful.test curly.prof
9
10