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

Side by Side Diff: tools/perf/benchmarks/polymer_load.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/page_cycler.py ('k') | tools/perf/benchmarks/power.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 telemetry import benchmark
6
5 from measurements import polymer_load 7 from measurements import polymer_load
6 import page_sets 8 import page_sets
7 from telemetry import benchmark
8 9
9 10
10 # Failing on N4, crbug.com/470071 11 # Failing on N4, crbug.com/470071
11 #@benchmark.Enabled('android') 12 #@benchmark.Enabled('android')
12 @benchmark.Disabled 13 @benchmark.Disabled
13 class PolymerLoadPica(benchmark.Benchmark): 14 class PolymerLoadPica(benchmark.Benchmark):
14 """Measures time to polymer-ready for Pica (News Reader).""" 15 """Measures time to polymer-ready for Pica (News Reader)."""
15 test = polymer_load.PolymerLoadMeasurement 16 test = polymer_load.PolymerLoadMeasurement
16 page_set = page_sets.PicaPageSet 17 page_set = page_sets.PicaPageSet
17 18
18 @classmethod 19 @classmethod
19 def Name(cls): 20 def Name(cls):
20 return 'polymer_load.pica' 21 return 'polymer_load.pica'
21 22
22 23
23 # There is something weird about this test (or a test that precedes it) 24 # There is something weird about this test (or a test that precedes it)
24 # that causes it to fail in telemetry_perf_unittests when it is not run 25 # that causes it to fail in telemetry_perf_unittests when it is not run
25 # as the first of the benchmark_smoke_unittest test cases. 26 # as the first of the benchmark_smoke_unittest test cases.
26 # See crbug.com/428207. 27 # See crbug.com/428207.
27 #@benchmark.Enabled('android') 28 #@benchmark.Enabled('android')
28 @benchmark.Disabled 29 @benchmark.Disabled
29 class PolymerLoadTopeka(benchmark.Benchmark): 30 class PolymerLoadTopeka(benchmark.Benchmark):
30 """Measures time to polymer-ready for Topeka (Quiz App).""" 31 """Measures time to polymer-ready for Topeka (Quiz App)."""
31 test = polymer_load.PolymerLoadMeasurement 32 test = polymer_load.PolymerLoadMeasurement
32 page_set = page_sets.TopekaPageSet 33 page_set = page_sets.TopekaPageSet
33 @classmethod 34 @classmethod
34 def Name(cls): 35 def Name(cls):
35 return 'polymer_load.topeka' 36 return 'polymer_load.topeka'
36 37
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/page_cycler.py ('k') | tools/perf/benchmarks/power.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698