diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-04-12 09:58:23 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-04-12 09:58:23 -0400 |
commit | 7595e5f951470632ca8fb2389f9125053d11cf92 (patch) | |
tree | 7b278fc29ca60935eda15e69005369c494c9a832 /Makefile | |
parent | e07e764a11cacfa374de75de7da16be935e5e8f4 (diff) |
add profiler targets
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,7 +1,14 @@ # Actual soledad sync soledad-sync-server: - ./server_with_soledad_syncer.py + twistd -n web --port 8080 --class=server_with_soledad_syncer.resource + +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-profile: + cprofilev -f sync.cprofile measure-ping: httperf --server localhost --port 8080 --num-calls 5 --num-conns 20 --uri /ping |