misc/devel.mk: add target pprof
This commit is contained in:
parent
f9048559c7
commit
e93d31a776
@ -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\
|
||||||
|
Loading…
Reference in New Issue
Block a user