Files
athens/vendor/github.com/sourcegraph/annotate/Makefile
Aaron Schlesinger 5c889a06f4 more initial things
2018-02-25 12:32:51 -08:00

10 lines
251 B
Makefile

.PHONY: benchmark.txt
benchmark.txt:
go test -test.run='^$$' -test.bench='.*' -test.benchmem > $@ 2>&1
cat $@
profile:
go test -test.run='^$$' -test.bench='.*' -test.cpuprofile=/tmp/annotate.prof
go tool pprof ./annotate.test /tmp/annotate.prof