diff options
author | drebs <drebs@riseup.net> | 2017-11-02 09:28:56 -0200 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-11-02 09:28:56 -0200 |
commit | b36ebc87f449af5ad7a677350a3ccfc7d26cfb1e (patch) | |
tree | 6dd6e7a15ace7f7e15815546f43d333f74101050 /scripts/get_ping_rate.py | |
parent | 01e2a72ce30f0fbb4a027d3246a8ba16e00ae197 (diff) |
move client responsiveness tests to a subfolder
Diffstat (limited to 'scripts/get_ping_rate.py')
-rwxr-xr-x | scripts/get_ping_rate.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/scripts/get_ping_rate.py b/scripts/get_ping_rate.py deleted file mode 100755 index 19d63d1..0000000 --- a/scripts/get_ping_rate.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python - -""" -Measure the connection rate to the dummy server running Soledad Client using -httperf and spit it out. -""" - -import commands -import re - -# ORIGINAL, STANDARD MEASURE (TOTALLY RANDOM) -#res = commands.getoutput( - #'httperf --server localhost --port 8080 --num-calls 5 --num-conns 20 ' - #'--uri /ping | grep "Connection rate"') - -res = commands.getoutput( - 'httperf --server localhost --port 8080 --num-calls 5 --num-conns 10 ' - '--uri /ping | grep "Connection rate"') -print re.findall('[-+]?([0-9]*\.?[0-9]+)', res)[0] |