move tests and remove config.json
This commit is contained in:
parent
0df13b5715
commit
68b9a063c5
4 changed files with 9 additions and 17 deletions
13
tests/test_latency.py
Normal file
13
tests/test_latency.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import sys
|
||||
import time
|
||||
|
||||
|
||||
before = time.time()
|
||||
|
||||
for line in sys.stdin:
|
||||
if 'HTTP/1.1 ' in line:
|
||||
diff = time.time() - before
|
||||
print 'headline %dms' % (diff * 1000)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue