move tests and remove config.json

This commit is contained in:
clowwindy 2014-07-12 21:59:00 +08:00
parent 0df13b5715
commit 68b9a063c5
4 changed files with 9 additions and 17 deletions

13
tests/test_latency.py Normal file
View 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)