From eaf5e77392d98c5de7b5e6bba88eb2121226df36 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 17 Feb 2014 11:13:27 -0400 Subject: profiling target to makefile --- .gitignore | 1 + Makefile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 1beae562..eb44f637 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.pyc *.log *.lprof +*.pstats *.*~ .* *_rc.py diff --git a/Makefile b/Makefile index 00fec2ed..564fbe15 100644 --- a/Makefile +++ b/Makefile @@ -64,5 +64,8 @@ manpages: apidocs: @sphinx-apidoc -o docs/api src/leap/bitmask +mailprofile: + gprof2dot -f pstats /tmp/leap_mail_profile.pstats -n 0.2 -e 0.2 | dot -Tpdf -o /tmp/leap_mail_profile.pdf + clean : $(RM) $(COMPILED_UI) $(COMPILED_RESOURCES) $(COMPILED_UI:.py=.pyc) $(COMPILED_RESOURCES:.py=.pyc) -- cgit v1.2.3