mirror of https://github.com/pkg/sftp.git
split benchmark and benchmark_w_memprofile, include memprofile files to gitignore
This commit is contained in:
parent
325cdac782
commit
32f98f3047
|
@ -5,3 +5,6 @@ server_standalone/server_standalone
|
||||||
|
|
||||||
examples/*/id_rsa
|
examples/*/id_rsa
|
||||||
examples/*/id_rsa.pub
|
examples/*/id_rsa.pub
|
||||||
|
|
||||||
|
memprofile.out
|
||||||
|
memprofile.svg
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -20,5 +20,8 @@ COUNT ?= 1
|
||||||
BENCHMARK_PATTERN ?= "."
|
BENCHMARK_PATTERN ?= "."
|
||||||
|
|
||||||
benchmark:
|
benchmark:
|
||||||
go test -integration -run=NONE -bench=$(BENCHMARK_PATTERN) -benchmem -memprofile memprofile.out -count=$(COUNT)
|
go test -integration -run=NONE -bench=$(BENCHMARK_PATTERN) -benchmem -count=$(COUNT)
|
||||||
|
|
||||||
|
benchmark_w_memprofile:
|
||||||
|
go test -integration -run=NONE -bench=$(BENCHMARK_PATTERN) -benchmem -count=$(COUNT) -memprofile memprofile.out
|
||||||
go tool pprof -svg -output=memprofile.svg memprofile.out
|
go tool pprof -svg -output=memprofile.svg memprofile.out
|
||||||
|
|
Loading…
Reference in New Issue