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

Side by Side Diff: tools/perf/benchmarks/dromaeo.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/benchmarks/dom_perf.py ('k') | tools/perf/benchmarks/gpu_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 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 import math 5 import math
6 import os 6 import os
7 7
8 from metrics import power
9 from telemetry import benchmark 8 from telemetry import benchmark
10 from telemetry import page as page_module 9 from telemetry import page as page_module
11 from telemetry.page import page_set 10 from telemetry.page import page_set
12 from telemetry.page import page_test 11 from telemetry.page import page_test
13 from telemetry.value import scalar 12 from telemetry.value import scalar
14 13
14 from metrics import power
15
15 16
16 class _DromaeoMeasurement(page_test.PageTest): 17 class _DromaeoMeasurement(page_test.PageTest):
17 def __init__(self): 18 def __init__(self):
18 super(_DromaeoMeasurement, self).__init__() 19 super(_DromaeoMeasurement, self).__init__()
19 self._power_metric = None 20 self._power_metric = None
20 21
21 def CustomizeBrowserOptions(self, options): 22 def CustomizeBrowserOptions(self, options):
22 power.PowerMetric.CustomizeBrowserOptions(options) 23 power.PowerMetric.CustomizeBrowserOptions(options)
23 24
24 def WillStartBrowser(self, platform): 25 def WillStartBrowser(self, platform):
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 316
316 Tests traversing a DOM structure using the Prototype JavaScript Library. 317 Tests traversing a DOM structure using the Prototype JavaScript Library.
317 """ 318 """
318 tag = 'cssqueryjquery' 319 tag = 'cssqueryjquery'
319 query_param = 'cssquery-jquery' 320 query_param = 'cssquery-jquery'
320 321
321 @classmethod 322 @classmethod
322 def Name(cls): 323 def Name(cls):
323 return 'dromaeo.cssqueryjquery' 324 return 'dromaeo.cssqueryjquery'
324 325
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/dom_perf.py ('k') | tools/perf/benchmarks/gpu_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698