mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 13:29:11 +01:00
The kubernetes project has been updated to use Go 1.14.4. See below pull request. https://github.com/kubernetes/kubernetes/pull/88638 After making the updates to Go 1.14 "make gen" no longer worked. The file hack/tools.go had to be created to get "make gen" working with Go 1.14.
11 lines
353 B
Bash
11 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
|
|
|
|
|