projects
/
dcpomatic.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix warning.
[dcpomatic.git]
/
hacks
/
testtimings
1
#!/usr/bin/python
2
3
import sys
4
5
if len(sys.argv) < 2:
6
print>>sys.stderr,'Syntax %s <log>' % sys.argv[0]
7
sys.exit(1)
8
9
tests = {}
10
11
with open(sys.argv[1]) as f:
12
while True:
13
l = f.readline()
14
if l == '':
15
break
16
17
s = l.split()
18
if len(s) == 7 and s[6][-3:] == 'mks':
19
tests[float(s[6][:-3]) / 1000000] = s[3][1:-2]
20
21
for x in sorted(tests):
22
print x,tests[x]