diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-05-01 14:28:18 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-05-01 14:28:18 -0400 |
commit | bd113c72a3a37c91806dd2cbf0cf8fd47949a2f4 (patch) | |
tree | 1997a6abd66dc5c580d8dc64a26846f3c149d5a9 /Makefile | |
parent | 7595e5f951470632ca8fb2389f9125053d11cf92 (diff) |
add profiling options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |