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

Side by Side Diff: tools/perf/benchmarks/media.py

Issue 2549373003: Disable media.android.tough_video_cases on all android. (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from core import perf_benchmark 5 from core import perf_benchmark
6 6
7 from telemetry import benchmark 7 from telemetry import benchmark
8 from telemetry.page import legacy_page_test 8 from telemetry.page import legacy_page_test
9 from telemetry.value import list_of_scalar_values 9 from telemetry.value import list_of_scalar_values
10 from telemetry.value import scalar 10 from telemetry.value import scalar
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 class MediaNetworkSimulation(perf_benchmark.PerfBenchmark): 67 class MediaNetworkSimulation(perf_benchmark.PerfBenchmark):
68 """Obtains media metrics under different network simulations.""" 68 """Obtains media metrics under different network simulations."""
69 test = media.Media 69 test = media.Media
70 page_set = page_sets.MediaCnsCasesPageSet 70 page_set = page_sets.MediaCnsCasesPageSet
71 71
72 @classmethod 72 @classmethod
73 def Name(cls): 73 def Name(cls):
74 return 'media.media_cns_cases' 74 return 'media.media_cns_cases'
75 75
76 76
77 @benchmark.Enabled('android') 77 @benchmark.Disabled('android') # crbug.com/671628, WebView: crbug.com/419689.
78 @benchmark.Disabled('l', 'android-webview') # WebView: crbug.com/419689
79 class MediaAndroid(perf_benchmark.PerfBenchmark): 78 class MediaAndroid(perf_benchmark.PerfBenchmark):
80 """Obtains media metrics for key user scenarios on Android.""" 79 """Obtains media metrics for key user scenarios on Android."""
81 test = media.Media 80 test = media.Media
82 tag = 'android' 81 tag = 'android'
83 page_set = page_sets.ToughVideoCasesPageSet 82 page_set = page_sets.ToughVideoCasesPageSet
84 # Exclude is_4k and 50 fps media files (garden* & crowd*). 83 # Exclude is_4k and 50 fps media files (garden* & crowd*).
85 options = {'story_label_filter_exclude': 'is_4k,is_50fps'} 84 options = {'story_label_filter_exclude': 'is_4k,is_50fps'}
86 85
87 @classmethod 86 @classmethod
88 def ShouldDisable(cls, possible_browser): 87 def ShouldDisable(cls, possible_browser):
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 144
146 @classmethod 145 @classmethod
147 def Name(cls): 146 def Name(cls):
148 return 'media.mse_cases' 147 return 'media.mse_cases'
149 148
150 def SetExtraBrowserOptions(self, options): 149 def SetExtraBrowserOptions(self, options):
151 # Needed to allow XHR requests to return stream objects. 150 # Needed to allow XHR requests to return stream objects.
152 options.AppendExtraBrowserArgs( 151 options.AppendExtraBrowserArgs(
153 ['--enable-experimental-web-platform-features', 152 ['--enable-experimental-web-platform-features',
154 '--disable-gesture-requirement-for-media-playback']) 153 '--disable-gesture-requirement-for-media-playback'])
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698