
godep restore pushd $GOPATH/src/github.com/appc/spec git co master popd go get go4.org/errorutil rm -rf Godeps godep save ./... git add vendor git add -f $(git ls-files --other vendor/) git co -- Godeps/LICENSES Godeps/.license_file_state Godeps/OWNERS
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
|
|
|
|
|