mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
combine tag and name in benchcompare script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
57fb1f32dc
commit
74a66893d0
1 changed files with 4 additions and 4 deletions
|
@ -28,11 +28,11 @@ for testfunc in root:
|
|||
for testresult in testfunc:
|
||||
tag = testresult.get('tag')
|
||||
if not tag:
|
||||
tag = name
|
||||
tag = "notag"
|
||||
value = testresult.get('value')
|
||||
if not value:
|
||||
continue
|
||||
katiemap[tag] = value
|
||||
katiemap['%s_%s' % (name, tag)] = value
|
||||
|
||||
qt4map = {}
|
||||
tree = ET.parse('/tmp/qt4-bench.xml')
|
||||
|
@ -42,11 +42,11 @@ for testfunc in root:
|
|||
for testresult in testfunc:
|
||||
tag = testresult.get('tag')
|
||||
if not tag:
|
||||
tag = name
|
||||
tag = "notag"
|
||||
value = testresult.get('value')
|
||||
if not value:
|
||||
continue
|
||||
qt4map[tag] = value
|
||||
qt4map['%s_%s' % (name, tag)] = value
|
||||
|
||||
print('Comparing benchmark results..')
|
||||
tagmax = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue