From f0df9a632237f24d63cf9ea1e06dec61c7bc2efb Mon Sep 17 00:00:00 2001 From: Philipp Mieden Date: Tue, 21 May 2019 11:09:51 +0200 Subject: [PATCH] added profile-test target to makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ae34959..bf3f796 100644 --- a/Makefile +++ b/Makefile @@ -31,4 +31,8 @@ docker-build: docker build -t $(IMAGE):$(TAG) . docker-push: - docker push $(IMAGE):$(TAG) \ No newline at end of file + docker push $(IMAGE):$(TAG) + +profile-test: + go test -run=none -bench=ClientServerParallel4 -cpuprofile=cprof net/http + go tool pprof --text http.test cprof \ No newline at end of file