summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-03-12 13:18:44 -0300
committerTomás Touceda <chiiph@leap.se>2014-03-12 13:18:44 -0300
commit65487728aede9e91c111626aa6a16f4a785350d8 (patch)
tree73bfa79c53096e60074a23fa7d318c77c5c5214a
parent24801fb3e0e103030c39b16f9138350c6e20e2cb (diff)
parented4fcb096c3166b76075921a484ee045e96f60b2 (diff)
Merge remote-tracking branch 'refs/remotes/kali/feature/cprofile-targets' into develop
-rw-r--r--.gitignore1
-rw-r--r--Makefile6
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e4b03d7a..0e5bb658 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@
*.lprof
*.pstats
*.data
+*.cprofile
*.*~
.*
*_rc.py
diff --git a/Makefile b/Makefile
index cb1f8218..358af126 100644
--- a/Makefile
+++ b/Makefile
@@ -72,6 +72,12 @@ manpages:
apidocs:
@sphinx-apidoc -o docs/api src/leap/bitmask
+do_cprofile:
+ python -m cProfile -o bitmask.cprofile src/leap/bitmask/app.py --debug -N
+
+view_cprofile:
+ cprofilev bitmask.cprofile
+
mailprofile:
gprof2dot -f pstats /tmp/leap_mail_profile.pstats -n 0.2 -e 0.2 | dot -Tpdf -o /tmp/leap_mail_profile.pdf