Bug 1200716 - Simplify talos output for perfherder. r=jmaher

This commit is contained in:
William Lachance 2015-09-14 17:52:18 -04:00
Родитель 33f44061ca
Коммит 153c11537f
2 изменённых файлов: 8 добавлений и 16 удалений

Просмотреть файл

@ -171,7 +171,7 @@ class GraphserverOutput(Output):
for result in test.results:
filtered_val = result.values(testname,
test.test_config['filters'])
vals.extend([[i['filtered'], j] for i, j in filtered_val])
vals.extend([[i['value'], j] for i, j in filtered_val])
result_strings.append(self.construct_results(vals,
testname=testname,
**info_dict))
@ -515,7 +515,7 @@ class PerfherderOutput(Output):
filtered_results = \
result.values(test_result['testrun']['suite'],
test.test_config['filters'])
vals.extend([[i['filtered'], j] for i, j in filtered_results])
vals.extend([[i['value'], j] for i, j in filtered_results])
for val, page in filtered_results:
if page == 'NULL':
summary['subtests'][test.name()] = val

Просмотреть файл

@ -158,15 +158,6 @@ class Results(object):
else:
remaining_filters.append(f)
# calculate common numbers with the raw data
data_summary = {
'min': min(data),
'max': max(data),
'mean': filter.mean(data),
'median': filter.median(data),
'std': filter.stddev(data)
}
# apply the summarization filters
for f in remaining_filters:
if f.func.__name__ == "v8_subtest":
@ -174,13 +165,14 @@ class Results(object):
data = filter.v8_subtest(data, page)
else:
data = f.apply(data)
data_summary['filtered'] = data
# special case for dromaeo_dom and v8_7
if testname == 'dromaeo_dom' or testname.startswith('v8_7'):
data_summary['value'] = data
summary = {
'filtered': data, # for backwards compatibility with perfherder
'value': data
}
retval.append([summary, page])
retval.append([data_summary, page])
return retval
def raw_values(self):