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

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

Issue 2900343003: [Telemetry] Change story disabling in webrtc pageset to StoryExpectations. (Closed)
Patch Set: Created 3 years, 7 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 | tools/perf/page_sets/webrtc_cases.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 import page_sets 7 import page_sets
8 from telemetry import benchmark 8 from telemetry import benchmark
9 from telemetry.timeline import chrome_trace_category_filter 9 from telemetry.timeline import chrome_trace_category_filter
10 from telemetry.web_perf import timeline_based_measurement 10 from telemetry.web_perf import timeline_based_measurement
(...skipping 24 matching lines...) Expand all
35 options = timeline_based_measurement.Options(category_filter) 35 options = timeline_based_measurement.Options(category_filter)
36 options.SetTimelineBasedMetrics([ 36 options.SetTimelineBasedMetrics([
37 'cpuTimeMetric', 37 'cpuTimeMetric',
38 'webrtcRenderingMetric', 38 'webrtcRenderingMetric',
39 ]) 39 ])
40 return options 40 return options
41 41
42 def SetExtraBrowserOptions(self, options): 42 def SetExtraBrowserOptions(self, options):
43 options.AppendExtraBrowserArgs('--use-fake-device-for-media-stream') 43 options.AppendExtraBrowserArgs('--use-fake-device-for-media-stream')
44 options.AppendExtraBrowserArgs('--use-fake-ui-for-media-stream') 44 options.AppendExtraBrowserArgs('--use-fake-ui-for-media-stream')
45
46 def GetExpectations(self):
47 return page_sets.WebrtcExpectations()
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/webrtc_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698