Bug 1246174 - fix tp5o responsiveness calculation for reporting to perfherder. r?parkouss draft
authorJoel Maher <jmaher@mozilla.com>
Wed, 10 Feb 2016 18:32:16 -0800
changeset 330275 3ecba5f43d36e9ee6bfb349c0dd51869a166020e
parent 330274 092510c19ca5514165e7493c75468f348ad053bc
child 514135 7ad35e279208d41d2dc3ae3bd70ea0db66dd032d
push id10715
push userjmaher@mozilla.com
push dateThu, 11 Feb 2016 02:40:50 +0000
reviewersparkouss
bugs1246174
milestone47.0a1
Bug 1246174 - fix tp5o responsiveness calculation for reporting to perfherder. r?parkouss MozReview-Commit-ID: 3MP9ugObja4
testing/talos/talos/output.py
--- 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]