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

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

Issue 1029263003: [telemetry] Sort imports in Telemetry and its dependents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure we're up to date. Created 5 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/measurements/tab_switching.py ('k') | tools/perf/measurements/thread_times.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 measurements import task_execution_time 5 from telemetry.core import wpr_modes
6 from telemetry import decorators 6 from telemetry import decorators
7 from telemetry.core import wpr_modes
8 from telemetry.page import page as page_module 7 from telemetry.page import page as page_module
9 from telemetry.results import page_test_results 8 from telemetry.results import page_test_results
10 from telemetry.timeline import model as model_module 9 from telemetry.timeline import model as model_module
11 from telemetry.timeline import slice as slice_data 10 from telemetry.timeline import slice as slice_data
12 from telemetry.unittest_util import options_for_unittests 11 from telemetry.unittest_util import options_for_unittests
13 from telemetry.unittest_util import page_test_test_case 12 from telemetry.unittest_util import page_test_test_case
14 13
14 from measurements import task_execution_time
15
15 16
16 class TestTaskExecutionTimePage(page_module.Page): 17 class TestTaskExecutionTimePage(page_module.Page):
17 18
18 def __init__(self, page_set, base_dir): 19 def __init__(self, page_set, base_dir):
19 super(TestTaskExecutionTimePage, self).__init__( 20 super(TestTaskExecutionTimePage, self).__init__(
20 'file://blank.html', page_set, base_dir) 21 'file://blank.html', page_set, base_dir)
21 22
22 def RunPageInteractions(self, action_runner): 23 def RunPageInteractions(self, action_runner):
23 interaction = action_runner.BeginGestureInteraction( 24 interaction = action_runner.BeginGestureInteraction(
24 'ScrollAction') 25 'ScrollAction')
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 None, 265 None,
265 'category', 266 'category',
266 name, 267 name,
267 timestamp, 268 timestamp,
268 duration, 269 duration,
269 timestamp, 270 timestamp,
270 duration, 271 duration,
271 []) 272 [])
272 self._renderer_thread.all_slices.append(new_slice) 273 self._renderer_thread.all_slices.append(new_slice)
273 return new_slice 274 return new_slice
OLDNEW
« no previous file with comments | « tools/perf/measurements/tab_switching.py ('k') | tools/perf/measurements/thread_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698