added profile-test target to makefile

This commit is contained in:
Philipp Mieden 2019-05-21 11:09:51 +02:00
parent 5e44495adc
commit f0df9a6322

View File

@ -31,4 +31,8 @@ docker-build:
docker build -t $(IMAGE):$(TAG) .
docker-push:
docker push $(IMAGE):$(TAG)
docker push $(IMAGE):$(TAG)
profile-test:
go test -run=none -bench=ClientServerParallel4 -cpuprofile=cprof net/http
go tool pprof --text http.test cprof