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

Side by Side Diff: tools/perf/measurements/smoothness.py

Issue 1231643002: [Startup Tracing][Telemetry] Move tracing_options and tracing_category_filter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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.core.platform import tracing_category_filter
6 from telemetry.page import page_test 5 from telemetry.page import page_test
6 from telemetry.timeline import tracing_category_filter
7 from telemetry.web_perf import timeline_based_measurement 7 from telemetry.web_perf import timeline_based_measurement
8 8
9 9
10 class _CustomResultsWrapper(timeline_based_measurement.ResultsWrapperInterface): 10 class _CustomResultsWrapper(timeline_based_measurement.ResultsWrapperInterface):
11 11
12 def _AssertNewValueHasSameInteractionLabel(self, new_value): 12 def _AssertNewValueHasSameInteractionLabel(self, new_value):
13 for value in self._results.current_page_run.values: 13 for value in self._results.current_page_run.values:
14 if value.name == new_value.name: 14 if value.name == new_value.name:
15 assert value.tir_label == new_value.tir_label, ( 15 assert value.tir_label == new_value.tir_label, (
16 'Smoothness measurement do not support multiple interaction record ' 16 'Smoothness measurement do not support multiple interaction record '
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 options.AppendExtraBrowserArgs([ 63 options.AppendExtraBrowserArgs([
64 '--enable-impl-side-painting', 64 '--enable-impl-side-painting',
65 '--enable-threaded-compositing', 65 '--enable-threaded-compositing',
66 '--enable-gpu-benchmarking' 66 '--enable-gpu-benchmarking'
67 ]) 67 ])
68 68
69 class SmoothnessWithRestart(Smoothness): 69 class SmoothnessWithRestart(Smoothness):
70 def __init__(self): 70 def __init__(self):
71 super(SmoothnessWithRestart, self).__init__( 71 super(SmoothnessWithRestart, self).__init__(
72 needs_browser_restart_after_each_page=True) 72 needs_browser_restart_after_each_page=True)
OLDNEW
« no previous file with comments | « tools/perf/measurements/oilpan_gc_times.py ('k') | tools/perf/measurements/smoothness_controller.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698