summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-02-17 11:13:27 -0400
committerKali Kaneko <kali@leap.se>2014-02-17 11:13:27 -0400
commiteaf5e77392d98c5de7b5e6bba88eb2121226df36 (patch)
tree3c313e1ecf06041c7b71e0bd57ef6569a5c57720 /Makefile
parentc75a61d6eb5ab42744adcd1ee83dd1f95317ff09 (diff)
profiling target to makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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)