Bug 1737641 Enable gecko-profiling perfherder data submission in Talos r=perftest-reviewers,AlexandruIonescu

Differential Revision: https://phabricator.services.mozilla.com/D135728
This commit is contained in:
Alex Finder 2022-01-17 11:18:40 +00:00
parent 7751829b62
commit 9a33e6d05d

View File

@ -218,8 +218,16 @@ class Output(object):
# This is the output that treeherder expects to find when parsing the
# log file
if "gecko-profile" not in self.results.extra_options:
LOG.info("PERFHERDER_DATA: %s" % json.dumps(results, ignore_nan=True))
if "gecko-profile" in self.results.extra_options:
LOG.info("gecko-profile enabled")
for suite in results["suites"]:
suite["shouldAlert"] = False
for subtest in suite["subtests"]:
subtest["shouldAlert"] = False
LOG.info("PERFHERDER_DATA: %s" % json.dumps(results, ignore_nan=True))
if results_scheme in ("file"):
json.dump(
results,