-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
47 lines (35 loc) · 1.1 KB
/
Makefile
File metadata and controls
47 lines (35 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.PHONY: cpanfile fastprof nytprof
modules:
cpanm --installdeps .
cpanfile:
# echo "requires 'IO::Socket::SSL';" > cpanfile # https support
scan-prereqs-cpanfile --ignore=script --diff=cpanfile > cpanfile
fastprof:
perl -d:FastProf start.pl
fprofpp
nytprof:
# export NYTPROF=trace=2:slowops=0
# export NYTPROF=start=init:stmts=0:slowops=0
export NYTPROF=trace=1:start=init:slowops=0 && perl -d:NYTProf start.pl
nytprofhtml --open
dot -Tpng nytprof/packages-callgraph.dot > nytprof/packages-callgraph.png
dot -Tpng nytprof/subs-callgraph.dot > nytprof/subs-callgraph.dot
eog nytprof/packages-callgraph.png
eog nytprof/subs-callgraph.png
ltrace:
perl -MDebug::LTrace='*' start.pl > /dev/null
tracecalls:
perl -d:TraceCalls=sub1 start.pl > /dev/null
calltrace:
# most ok debugger
perl -d:CallTrace=kiss start.pl > /dev/null
dumptrace:
perl -d:DumpTrace start.pl > /dev/null
xray:
perl -MDevel::XRay start.pl > /dev/null
tray:
perl -d:TRay start.pl > /dev/null
debughooks:
perl -d:DebugHooks::Terminal start.pl
allsubs:
perl -I/data/projects/devel-allsubs/lib -d:AllSubs start.pl > /dev/null