зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1583624 - Unclear error message in stylebench raptor output. r=perftest-reviewers,Marian
Differential Revision: https://phabricator.services.mozilla.com/D47771 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
713cd0fb7a
Коммит
79fee602e5
|
@ -293,7 +293,8 @@ class PerftestOutput(object):
|
|||
# We receive 76 entries per test, which ads up to 380. We want to use
|
||||
# the 5 test entries, not the rest.
|
||||
if len(results) != 380:
|
||||
raise Exception("StyleBench has 380 entries, found: %s instead" % len(results))
|
||||
raise Exception("StyleBench requires 380 entries, found: %s instead"
|
||||
% len(results))
|
||||
results = results[75::76]
|
||||
return 60 * 1000 / filters.geometric_mean(results) / correctionFactor
|
||||
|
||||
|
|
|
@ -293,7 +293,8 @@ class Output(object):
|
|||
# We receive 76 entries per test, which ads up to 380. We want to use
|
||||
# the 5 test entries, not the rest.
|
||||
if len(results) != 380:
|
||||
raise Exception("StyleBench has 380 entries, found: %s instead" % len(results))
|
||||
raise Exception("StyleBench requires 380 entries, found: %s instead"
|
||||
% len(results))
|
||||
|
||||
results = results[75::76]
|
||||
score = 60 * 1000 / filter.geometric_mean(results) / correctionFactor
|
||||
|
|
Загрузка…
Ссылка в новой задаче