misc/devel.mk: add target pprof

This commit is contained in:
Michael Teichgräber 2011-07-01 00:40:45 +02:00
parent f9048559c7
commit e93d31a776

View File

@ -12,5 +12,15 @@ diff: ,,c
orig-c-src/markdown_parser.leg: orig-c-src orig-c-src/markdown_parser.leg: orig-c-src
#
# pprof
#
pprof: cmd m
./cmd/markdown -cpuprofile /tmp/md.prof <m > /tmp/,,md.out
@echo gopprof \'--nodefraction=0.1\' ./cmd/markdown /tmp/md.prof
@echo gopprof ./cmd/markdown /tmp/md.prof
.PHONY: diff gofmt .PHONY:\
diff\
gofmt\
pprof\