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

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

Issue 2744723003: Adding owners to benchmark tests (Closed)
Patch Set: rebasing Created 3 years, 9 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/loading.py ('k') | tools/perf/benchmarks/memory.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 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 test = media.Media 45 test = media.Media
46 page_set = page_sets.ToughVideoCasesPageSet 46 page_set = page_sets.ToughVideoCasesPageSet
47 47
48 @classmethod 48 @classmethod
49 def Name(cls): 49 def Name(cls):
50 return 'media.tough_video_cases' 50 return 'media.tough_video_cases'
51 51
52 52
53 # crbug.com/565180: Only include cases that don't report time_to_play 53 # crbug.com/565180: Only include cases that don't report time_to_play
54 @benchmark.Disabled('android') 54 @benchmark.Disabled('android')
55 @benchmark.Owner(emails=['crouleau@chromium.org', 'videostack-eng@google.com'])
55 class MediaExtra(perf_benchmark.PerfBenchmark): 56 class MediaExtra(perf_benchmark.PerfBenchmark):
56 """Obtains extra media metrics for key user scenarios.""" 57 """Obtains extra media metrics for key user scenarios."""
57 test = media.Media 58 test = media.Media
58 page_set = page_sets.ToughVideoCasesExtraPageSet 59 page_set = page_sets.ToughVideoCasesExtraPageSet
59 60
60 @classmethod 61 @classmethod
61 def Name(cls): 62 def Name(cls):
62 return 'media.tough_video_cases_extra' 63 return 'media.tough_video_cases_extra'
63 64
64 65
65 @benchmark.Disabled('android', 'mac') 66 @benchmark.Disabled('android', 'mac')
67 @benchmark.Owner(emails=['crouleau@chromium.org', 'videostack-eng@google.com'])
66 class MediaNetworkSimulation(perf_benchmark.PerfBenchmark): 68 class MediaNetworkSimulation(perf_benchmark.PerfBenchmark):
67 """Obtains media metrics under different network simulations.""" 69 """Obtains media metrics under different network simulations."""
68 test = media.Media 70 test = media.Media
69 page_set = page_sets.MediaCnsCasesPageSet 71 page_set = page_sets.MediaCnsCasesPageSet
70 72
71 @classmethod 73 @classmethod
72 def Name(cls): 74 def Name(cls):
73 return 'media.media_cns_cases' 75 return 'media.media_cns_cases'
74 76
75 77
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 page_set = page_sets.ToughVideoCasesPageSet 125 page_set = page_sets.ToughVideoCasesPageSet
124 # Exclude is_50fps test files: crbug/331816 126 # Exclude is_50fps test files: crbug/331816
125 options = {'story_tag_filter_exclude': 'is_4k,is_50fps'} 127 options = {'story_tag_filter_exclude': 'is_4k,is_50fps'}
126 128
127 @classmethod 129 @classmethod
128 def Name(cls): 130 def Name(cls):
129 return 'media.chromeOS.tough_video_cases' 131 return 'media.chromeOS.tough_video_cases'
130 132
131 133
132 @benchmark.Disabled('android-webview') # crbug.com/419689 134 @benchmark.Disabled('android-webview') # crbug.com/419689
135 @benchmark.Owner(emails=['crouleau@chromium.org', 'videostack-eng@google.com'])
133 class MediaSourceExtensions(perf_benchmark.PerfBenchmark): 136 class MediaSourceExtensions(perf_benchmark.PerfBenchmark):
134 """Obtains media metrics for key media source extensions functions.""" 137 """Obtains media metrics for key media source extensions functions."""
135 test = _MSEMeasurement 138 test = _MSEMeasurement
136 page_set = page_sets.MseCasesPageSet 139 page_set = page_sets.MseCasesPageSet
137 140
138 @classmethod 141 @classmethod
139 def Name(cls): 142 def Name(cls):
140 return 'media.mse_cases' 143 return 'media.mse_cases'
141 144
142 def SetExtraBrowserOptions(self, options): 145 def SetExtraBrowserOptions(self, options):
143 # Needed to allow XHR requests to return stream objects. 146 # Needed to allow XHR requests to return stream objects.
144 options.AppendExtraBrowserArgs( 147 options.AppendExtraBrowserArgs(
145 ['--enable-experimental-web-platform-features', 148 ['--enable-experimental-web-platform-features',
146 '--disable-gesture-requirement-for-media-playback']) 149 '--disable-gesture-requirement-for-media-playback'])
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/loading.py ('k') | tools/perf/benchmarks/memory.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698