Commit 8544771a authored by Juan Antonio Navarro Perez's avatar Juan Antonio Navarro Perez Committed by Commit Bot

[tools/perf] Remove summary values from octane benchmark

These will still be reported as regular measurements.

Bug: 1003530
Change-Id: I207540eeaa4447b01536ab4205712d0822c1c91a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1828904Reviewed-by: default avatarCaleb Rouleau <crouleau@chromium.org>
Commit-Queue: Juan Antonio Navarro Pérez <perezju@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701974}
parent 374069cf
{ {
"archives": { "archives": {
"http://chromium.github.io/octane/index.html?auto=1": { "Octane": {
"DEFAULT": "octane_002.wprgo" "DEFAULT": "octane_002.wprgo"
} }
}, },
"description": "Describes the Web Page Replay archives for a story set. Don't edit by hand! Use record_wpr for updating.", "description": "Describes the Web Page Replay archives for a story set. Don't edit by hand! Use record_wpr for updating.",
"platform_specific": true "platform_specific": true
} }
\ No newline at end of file
...@@ -53,7 +53,8 @@ DESCRIPTIONS = { ...@@ -53,7 +53,8 @@ DESCRIPTIONS = {
class OctaneStory(press_story.PressStory): class OctaneStory(press_story.PressStory):
URL='http://chromium.github.io/octane/index.html?auto=1' URL = 'http://chromium.github.io/octane/index.html?auto=1'
NAME = 'Octane'
def RunNavigateSteps(self, action_runner): def RunNavigateSteps(self, action_runner):
total_memory = ( total_memory = (
...@@ -97,8 +98,8 @@ class OctaneStory(press_story.PressStory): ...@@ -97,8 +98,8 @@ class OctaneStory(press_story.PressStory):
# Collect all test scores to compute geometric mean. # Collect all test scores to compute geometric mean.
all_scores.append(score) all_scores.append(score)
total = statistics.GeometricMean(all_scores) total = statistics.GeometricMean(all_scores)
self.AddJavascriptMetricSummaryValue( self.AddJavascriptMetricValue(
scalar.ScalarValue(None, 'Total.Score', 'score', total, scalar.ScalarValue(self, 'Total.Score', 'score', total,
description='Geometric mean of the scores of each ' description='Geometric mean of the scores of each '
'individual benchmark in the Octane ' 'individual benchmark in the Octane '
'benchmark collection.')) 'benchmark collection.'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment