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

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

Issue 619903003: Turn off telemetry tests which crash on WebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add bug numbers inline. Created 6 years, 2 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 | « tools/perf/benchmarks/blink_perf.py ('k') | 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 measurements import media 5 from measurements import media
6 import page_sets 6 import page_sets
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 26 matching lines...) Expand all
37 37
38 38
39 @benchmark.Disabled 39 @benchmark.Disabled
40 class MediaNetworkSimulation(benchmark.Benchmark): 40 class MediaNetworkSimulation(benchmark.Benchmark):
41 """Obtains media metrics under different network simulations.""" 41 """Obtains media metrics under different network simulations."""
42 test = media.Media 42 test = media.Media
43 page_set = page_sets.MediaCnsCasesPageSet 43 page_set = page_sets.MediaCnsCasesPageSet
44 44
45 45
46 @benchmark.Enabled('android') 46 @benchmark.Enabled('android')
47 @benchmark.Disabled('l') 47 @benchmark.Disabled('l', 'android-webview') # WebView: crbug.com/419689
48 class MediaAndroid(benchmark.Benchmark): 48 class MediaAndroid(benchmark.Benchmark):
49 """Obtains media metrics for key user scenarios on Android.""" 49 """Obtains media metrics for key user scenarios on Android."""
50 test = media.Media 50 test = media.Media
51 tag = 'android' 51 tag = 'android'
52 page_set = page_sets.ToughVideoCasesPageSet 52 page_set = page_sets.ToughVideoCasesPageSet
53 # Exclude is_4k and 50 fps media files (garden* & crowd*). 53 # Exclude is_4k and 50 fps media files (garden* & crowd*).
54 options = {'page_label_filter_exclude': 'is_4k,is_50fps'} 54 options = {'page_label_filter_exclude': 'is_4k,is_50fps'}
55 55
56 56
57 @benchmark.Enabled('chromeos') 57 @benchmark.Enabled('chromeos')
(...skipping 17 matching lines...) Expand all
75 This benchmark does not run is_4k content, there's a separate benchmark for 75 This benchmark does not run is_4k content, there's a separate benchmark for
76 that. 76 that.
77 """ 77 """
78 test = media.Media 78 test = media.Media
79 tag = 'chromeOS' 79 tag = 'chromeOS'
80 page_set = page_sets.ToughVideoCasesPageSet 80 page_set = page_sets.ToughVideoCasesPageSet
81 # Exclude is_50fps test files: crbug/331816 81 # Exclude is_50fps test files: crbug/331816
82 options = {'page_label_filter_exclude': 'is_4k,is_50fps'} 82 options = {'page_label_filter_exclude': 'is_4k,is_50fps'}
83 83
84 84
85 @benchmark.Disabled('android-webview') # crbug.com/419689
85 class MediaSourceExtensions(benchmark.Benchmark): 86 class MediaSourceExtensions(benchmark.Benchmark):
86 """Obtains media metrics for key media source extensions functions.""" 87 """Obtains media metrics for key media source extensions functions."""
87 test = _MSEMeasurement 88 test = _MSEMeasurement
88 page_set = page_sets.MseCasesPageSet 89 page_set = page_sets.MseCasesPageSet
89 90
90 def CustomizeBrowserOptions(self, options): 91 def CustomizeBrowserOptions(self, options):
91 # Needed to allow XHR requests to return stream objects. 92 # Needed to allow XHR requests to return stream objects.
92 options.AppendExtraBrowserArgs( 93 options.AppendExtraBrowserArgs(
93 ['--enable-experimental-web-platform-features', 94 ['--enable-experimental-web-platform-features',
94 '--disable-gesture-requirement-for-media-playback']) 95 '--disable-gesture-requirement-for-media-playback'])
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/blink_perf.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698