clowwindy
10 years ago
2 changed files with 2 additions and 18 deletions
@ -1,13 +0,0 @@ |
|||||
#!/usr/bin/python |
|
||||
|
|
||||
import sys |
|
||||
import time |
|
||||
|
|
||||
|
|
||||
if __name__ == '__main__': |
|
||||
before = time.time() |
|
||||
|
|
||||
for line in sys.stdin: |
|
||||
if 'HTTP/1.1 ' in line: |
|
||||
diff = time.time() - before |
|
||||
print 'headline %dms' % (diff * 1000) |
|
Loading…
Reference in new issue