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

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

Issue 1807183002: Disable media.tough_video_cases on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « 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 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 21 matching lines...) Expand all
32 32
33 else: 33 else:
34 results.AddValue(scalar.ScalarValue( 34 results.AddValue(scalar.ScalarValue(
35 results.current_page, trace_name, units='ms', 35 results.current_page, trace_name, units='ms',
36 value=float(metrics[m]), important=True)) 36 value=float(metrics[m]), important=True))
37 37
38 38
39 # android: See media.android.tough_video_cases below 39 # android: See media.android.tough_video_cases below
40 # win8: crbug.com/531618 40 # win8: crbug.com/531618
41 # win7: crbug.com/555079 41 # win7: crbug.com/555079
42 # mac: crbug.com/595665
42 # crbug.com/565180: Only include cases that report time_to_play 43 # crbug.com/565180: Only include cases that report time_to_play
43 @benchmark.Disabled('android', 'win8', 'win7') 44 @benchmark.Disabled('android', 'win8', 'win7', 'mac')
44 class Media(perf_benchmark.PerfBenchmark): 45 class Media(perf_benchmark.PerfBenchmark):
45 """Obtains media metrics for key user scenarios.""" 46 """Obtains media metrics for key user scenarios."""
46 test = media.Media 47 test = media.Media
47 page_set = page_sets.ToughVideoCasesPageSet 48 page_set = page_sets.ToughVideoCasesPageSet
48 49
49 @classmethod 50 @classmethod
50 def Name(cls): 51 def Name(cls):
51 return 'media.tough_video_cases' 52 return 'media.tough_video_cases'
52 53
53 54
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 134
134 @classmethod 135 @classmethod
135 def Name(cls): 136 def Name(cls):
136 return 'media.mse_cases' 137 return 'media.mse_cases'
137 138
138 def SetExtraBrowserOptions(self, options): 139 def SetExtraBrowserOptions(self, options):
139 # Needed to allow XHR requests to return stream objects. 140 # Needed to allow XHR requests to return stream objects.
140 options.AppendExtraBrowserArgs( 141 options.AppendExtraBrowserArgs(
141 ['--enable-experimental-web-platform-features', 142 ['--enable-experimental-web-platform-features',
142 '--disable-gesture-requirement-for-media-playback']) 143 '--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