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

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

Issue 1075153003: Disabled media.tough_video_cases on XP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 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 telemetry import benchmark 5 from telemetry import benchmark
6 from telemetry.page import page_test 6 from telemetry.page import page_test
7 from telemetry.value import list_of_scalar_values 7 from telemetry.value import list_of_scalar_values
8 from telemetry.value import scalar 8 from telemetry.value import scalar
9 9
10 from measurements import media 10 from measurements import media
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 """Obtains media metrics under different network simulations.""" 49 """Obtains media metrics under different network simulations."""
50 test = media.Media 50 test = media.Media
51 page_set = page_sets.MediaCnsCasesPageSet 51 page_set = page_sets.MediaCnsCasesPageSet
52 52
53 @classmethod 53 @classmethod
54 def Name(cls): 54 def Name(cls):
55 return 'media.media_cns_cases' 55 return 'media.media_cns_cases'
56 56
57 57
58 @benchmark.Enabled('android') 58 @benchmark.Enabled('android')
59 @benchmark.Disabled('l', 'android-webview') # WebView: crbug.com/419689 59 # WebView: crbug.com/419689
60 # XP: crbug.com/475191
61 @benchmark.Disabled('l', 'android-webview', 'xp')
60 class MediaAndroid(benchmark.Benchmark): 62 class MediaAndroid(benchmark.Benchmark):
61 """Obtains media metrics for key user scenarios on Android.""" 63 """Obtains media metrics for key user scenarios on Android."""
62 test = media.Media 64 test = media.Media
63 tag = 'android' 65 tag = 'android'
64 page_set = page_sets.ToughVideoCasesPageSet 66 page_set = page_sets.ToughVideoCasesPageSet
65 # Exclude is_4k and 50 fps media files (garden* & crowd*). 67 # Exclude is_4k and 50 fps media files (garden* & crowd*).
66 options = {'story_label_filter_exclude': 'is_4k,is_50fps'} 68 options = {'story_label_filter_exclude': 'is_4k,is_50fps'}
67 69
68 @classmethod 70 @classmethod
69 def Name(cls): 71 def Name(cls):
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 116
115 @classmethod 117 @classmethod
116 def Name(cls): 118 def Name(cls):
117 return 'media.mse_cases' 119 return 'media.mse_cases'
118 120
119 def CustomizeBrowserOptions(self, options): 121 def CustomizeBrowserOptions(self, options):
120 # Needed to allow XHR requests to return stream objects. 122 # Needed to allow XHR requests to return stream objects.
121 options.AppendExtraBrowserArgs( 123 options.AppendExtraBrowserArgs(
122 ['--enable-experimental-web-platform-features', 124 ['--enable-experimental-web-platform-features',
123 '--disable-gesture-requirement-for-media-playback']) 125 '--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