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

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

Issue 1428133005: [Telemetry] Allows concatenating multiple Disabled & Enabled decorators (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Dave's comment Created 5 years, 1 month 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 | « tools/perf/benchmarks/maps.py ('k') | tools/perf/benchmarks/page_cycler.py » ('j') | 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 page_test 8 from telemetry.page import 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class MediaNetworkSimulation(perf_benchmark.PerfBenchmark): 53 class MediaNetworkSimulation(perf_benchmark.PerfBenchmark):
54 """Obtains media metrics under different network simulations.""" 54 """Obtains media metrics under different network simulations."""
55 test = media.Media 55 test = media.Media
56 page_set = page_sets.MediaCnsCasesPageSet 56 page_set = page_sets.MediaCnsCasesPageSet
57 57
58 @classmethod 58 @classmethod
59 def Name(cls): 59 def Name(cls):
60 return 'media.media_cns_cases' 60 return 'media.media_cns_cases'
61 61
62 62
63 @benchmark.Disabled() # crbug.com/448092 63 @benchmark.Disabled('all') # crbug.com/448092
64 @benchmark.Disabled('l', 'android-webview') # WebView: crbug.com/419689 64 @benchmark.Disabled('l', 'android-webview') # WebView: crbug.com/419689
65 class MediaAndroid(perf_benchmark.PerfBenchmark): 65 class MediaAndroid(perf_benchmark.PerfBenchmark):
66 """Obtains media metrics for key user scenarios on Android.""" 66 """Obtains media metrics for key user scenarios on Android."""
67 test = media.Media 67 test = media.Media
68 tag = 'android' 68 tag = 'android'
69 page_set = page_sets.ToughVideoCasesPageSet 69 page_set = page_sets.ToughVideoCasesPageSet
70 # Exclude is_4k and 50 fps media files (garden* & crowd*). 70 # Exclude is_4k and 50 fps media files (garden* & crowd*).
71 options = {'story_label_filter_exclude': 'is_4k,is_50fps'} 71 options = {'story_label_filter_exclude': 'is_4k,is_50fps'}
72 72
73 @classmethod 73 @classmethod
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 @classmethod 120 @classmethod
121 def Name(cls): 121 def Name(cls):
122 return 'media.mse_cases' 122 return 'media.mse_cases'
123 123
124 def SetExtraBrowserOptions(self, options): 124 def SetExtraBrowserOptions(self, options):
125 # Needed to allow XHR requests to return stream objects. 125 # Needed to allow XHR requests to return stream objects.
126 options.AppendExtraBrowserArgs( 126 options.AppendExtraBrowserArgs(
127 ['--enable-experimental-web-platform-features', 127 ['--enable-experimental-web-platform-features',
128 '--disable-gesture-requirement-for-media-playback']) 128 '--disable-gesture-requirement-for-media-playback'])
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/maps.py ('k') | tools/perf/benchmarks/page_cycler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698