Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: tools/perf/benchmarks/media.py

Issue 134243003: Create separate telemetry media-perf ChromeOS benchmarks for 4k and non-4k content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix label for non-4k content. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_video_cases.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/media.py
diff --git a/tools/perf/benchmarks/media.py b/tools/perf/benchmarks/media.py
index bbcdef5aba2486d9c0a61dccf11e8accaed75e6b..0e42ff3145affd3cf7e6db0f77c8396ba9bd893e 100644
--- a/tools/perf/benchmarks/media.py
+++ b/tools/perf/benchmarks/media.py
@@ -1,12 +1,11 @@
-# Copyright 2013 The Chromium Authors. All rights reserved.
+# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+from measurements import media
from telemetry import test
from telemetry.page import page_measurement
-from measurements import media
-
class MSEMeasurement(page_measurement.PageMeasurement):
def MeasurePage(self, page, tab, results):
@@ -26,11 +25,13 @@ class Media(test.Test):
test = media.Media
page_set = 'page_sets/tough_video_cases.json'
+
class MediaNetworkSimulation(test.Test):
"""Obtains media metrics under different network simulations."""
test = media.Media
page_set = 'page_sets/media_cns_cases.json'
+
class MediaAndroid(test.Test):
"""Obtains media metrics for key user scenarios on Android."""
test = media.Media
@@ -38,18 +39,30 @@ class MediaAndroid(test.Test):
page_set = 'page_sets/tough_video_cases.json'
# Exclude 4k and 50 fps media files (garden* & crowd*).
options = {
- 'page_filter_exclude': '.*(crowd|garden).*'
- }
+ 'page_label_filter_exclude': '4k,50fps'}
+
+
+class MediaChromeOS4kOnly(test.Test):
+ """Benchmark for media performance on ChromeOS using only 4k test content."""
+ test = media.Media
+ tag = 'chromeOS4kOnly'
+ page_set = 'page_sets/tough_video_cases.json'
+ options = {'page_label_filter': '4k',
+ # Exclude 50fps test files: crbug/331816
+ 'page_label_filter_exclude': '50fps'}
+
class MediaChromeOS(test.Test):
- """Obtains media metrics for key user scenarios on ChromeOS."""
+ """Benchmark for media performance on all ChromeOS platforms.
+
+ This benchmark does not run 4k content, there's a separate benchmark for that.
+ """
test = media.Media
tag = 'chromeOS'
page_set = 'page_sets/tough_video_cases.json'
- # Exclude crowd* media files (50fps 2160p): crbug/331816
- options = {
- 'page_filter_exclude': '.*crowd.*'
- }
+ # Exclude 50fps test files: crbug/331816
+ options = {'page_label_filter_exclude': '4k,50fps'}
+
class MediaSourceExtensions(test.Test):
"""Obtains media metrics for key media source extensions functions."""
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_video_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698