summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-05-01 14:28:18 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-05-01 14:28:18 -0400
commitbd113c72a3a37c91806dd2cbf0cf8fd47949a2f4 (patch)
tree1997a6abd66dc5c580d8dc64a26846f3c149d5a9 /Makefile
parent7595e5f951470632ca8fb2389f9125053d11cf92 (diff)
add profiling options
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aa881dc..52d7451 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,18 @@
soledad-sync-server:
twistd -n web --port 8080 --class=server_with_soledad_syncer.resource
+soledad-sync-server-lineprof:
+ kernprof -l server_with_soledad_syncer.py
+
+
soledad-sync-server-debug:
#twistd --profile=stats_obj --profiler=cProfile -n web --port 8080 --class=server_with_soledad_syncer.resource
python -m cProfile -o sync.cprofile server_with_soledad_syncer.py
+view-lineprofile:
+ python -m line_profiler server_with_soledad_syncer.py.lprof
+
+
view-profile:
cprofilev -f sync.cprofile