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

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

Issue 1917393002: [tools/perf] Reference legacy_page_test module instead of page_test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « tools/perf/benchmarks/blink_perf.py ('k') | tools/perf/benchmarks/dummy_benchmark.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 core import perf_benchmark 8 from core import perf_benchmark
9 9
10 from telemetry import benchmark 10 from telemetry import benchmark
11 from telemetry import page as page_module 11 from telemetry import page as page_module
12 from telemetry.page import page_test 12 from telemetry.page import legacy_page_test
13 from telemetry import story 13 from telemetry import story
14 from telemetry.value import scalar 14 from telemetry.value import scalar
15 15
16 from metrics import power 16 from metrics import power
17 17
18 18
19 class _DromaeoMeasurement(page_test.PageTest): 19 class _DromaeoMeasurement(legacy_page_test.LegacyPageTest):
20 20
21 def __init__(self): 21 def __init__(self):
22 super(_DromaeoMeasurement, self).__init__() 22 super(_DromaeoMeasurement, self).__init__()
23 self._power_metric = None 23 self._power_metric = None
24 24
25 def CustomizeBrowserOptions(self, options): 25 def CustomizeBrowserOptions(self, options):
26 power.PowerMetric.CustomizeBrowserOptions(options) 26 power.PowerMetric.CustomizeBrowserOptions(options)
27 27
28 def WillStartBrowser(self, platform): 28 def WillStartBrowser(self, platform):
29 self._power_metric = power.PowerMetric(platform) 29 self._power_metric = power.PowerMetric(platform)
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 """Dromaeo CSS Query jquery JavaScript benchmark. 327 """Dromaeo CSS Query jquery JavaScript benchmark.
328 328
329 Tests traversing a DOM structure using the Prototype JavaScript Library. 329 Tests traversing a DOM structure using the Prototype JavaScript Library.
330 """ 330 """
331 tag = 'cssqueryjquery' 331 tag = 'cssqueryjquery'
332 query_param = 'cssquery-jquery' 332 query_param = 'cssquery-jquery'
333 333
334 @classmethod 334 @classmethod
335 def Name(cls): 335 def Name(cls):
336 return 'dromaeo.cssqueryjquery' 336 return 'dromaeo.cssqueryjquery'
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/blink_perf.py ('k') | tools/perf/benchmarks/dummy_benchmark.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698