mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
tools: dev-heap improvements
This commit is contained in:
parent
b64f42c2d8
commit
78d5a0913e
11
Makefile
11
Makefile
@ -381,10 +381,13 @@ dev-profile: devprof \
|
|||||||
&& profiteur devprof.prof
|
&& profiteur devprof.prof
|
||||||
|
|
||||||
dev-heap: devprof \
|
dev-heap: devprof \
|
||||||
$(call def-help,dev-heap, get a heap profile of the dev.hs script )
|
$(call def-help,dev-heap, get heap profiles of the dev.hs script )
|
||||||
time ./devprof +RTS -hc \
|
time ./devprof +RTS -hc -L1000 && cp devprof.hp devprof-hc.hp && hp2ps devprof-hc.hp
|
||||||
&& cp devprof.hp devprof.hp.$(TIME) \
|
time ./devprof +RTS -hr -L1000 && cp devprof.hp devprof-hr.hp && hp2ps devprof-hr.hp
|
||||||
&& hp2ps devprof.hp.$(TIME)
|
|
||||||
|
dev-heap-upload:
|
||||||
|
curl -F "file=@devprof-hc.hp" -F "title='hledger parser'" http://heap.ezyang.com/upload
|
||||||
|
curl -F "file=@devprof-hr.hp" -F "title='hledger parser'" http://heap.ezyang.com/upload
|
||||||
|
|
||||||
# # build other executables quickly
|
# # build other executables quickly
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user