mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 09:54:42 +00:00
Bug 1813515 - Use the run metric as the twitch-animation summary value. r=perftest-reviewers,afinder
This patch fixes an issue with twitch-animation where the summary value was being calculated as the geomean of all the subtests when it should only display the geomean of the `run` metric. Differential Revision: https://phabricator.services.mozilla.com/D169089
This commit is contained in:
parent
c4b12f7aba
commit
259d27f2a9
@ -442,6 +442,9 @@ class PerftestOutput(object):
|
||||
# pylint: disable=W1633
|
||||
return round(filters.mean(_filter(vals)), 2)
|
||||
|
||||
if "twitch-animation" in testname:
|
||||
return round(filters.geometric_mean(_filter(vals, "run")), 2)
|
||||
|
||||
if testname.startswith("supporting_data"):
|
||||
if not unit:
|
||||
return sum(_filter(vals))
|
||||
|
Loading…
Reference in New Issue
Block a user