mirror of
https://github.com/foomo/contentserver.git
synced 2025-10-16 12:25:44 +00:00
added profile-test target to makefile
This commit is contained in:
parent
5e44495adc
commit
f0df9a6322
6
Makefile
6
Makefile
@ -31,4 +31,8 @@ docker-build:
|
|||||||
docker build -t $(IMAGE):$(TAG) .
|
docker build -t $(IMAGE):$(TAG) .
|
||||||
|
|
||||||
docker-push:
|
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
|
||||||
Loading…
Reference in New Issue
Block a user