Bug 1246174 - fix tp5o responsiveness calculation for reporting to perfherder. r?parkouss
MozReview-Commit-ID: 3MP9ugObja4
--- a/testing/talos/talos/output.py
+++ b/testing/talos/talos/output.py
@@ -511,16 +511,26 @@ class PerfherderOutput(Output):
if len(vals) > 0 and isinstance(vals[0], list):
continue
# mainthread IO is a list of filenames and accesses, we do
# not report this as a counter
if 'mainthreadio' in name:
continue
+ # responsiveness has it's own metric, not the mean
+ # TODO: consider doing this for all counters
+ if 'responsiveness' is name:
+ subtest = {
+ 'name': name,
+ 'value': self.responsiveness_Metric(vals)
+ }
+ counter_subtests.append(subtest)
+ continue
+
subtest = {
'name': name,
'value': 0.0,
}
counter_subtests.append(subtest)
if test.using_xperf:
subtest['value'] = vals[0]