mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
Travis seems to be having issues pulling deps, so we'll have to check in the vendor directory and prevent the makefile from trying to regenerate it normally.
10 lines
353 B
Bash
10 lines
353 B
Bash
#go test -run=none -file bench_test.go -test.bench . -cpuprofile=bench_test.out
|
|
|
|
go test -c
|
|
./go-restful.test -test.run=none -test.cpuprofile=tmp.prof -test.bench=BenchmarkMany
|
|
./go-restful.test -test.run=none -test.cpuprofile=curly.prof -test.bench=BenchmarkManyCurly
|
|
|
|
#go tool pprof go-restful.test tmp.prof
|
|
go tool pprof go-restful.test curly.prof
|
|
|
|
|