Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / tools / perf / benchmarks / polymer_load.py
blob17caf5a8b158e38de99654cb1b8e3a8e572c5dc0
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
3 # found in the LICENSE file.
5 from telemetry import benchmark
7 from measurements import polymer_load
8 import page_sets
11 @benchmark.Enabled('android')
12 class PolymerLoadPica(benchmark.Benchmark):
13 """Measures time to polymer-ready for Pica (News Reader)."""
14 test = polymer_load.PolymerLoadMeasurement
15 page_set = page_sets.PicaPageSet
17 @classmethod
18 def Name(cls):
19 return 'polymer_load.pica'
22 # There is something weird about this test (or a test that precedes it)
23 # that causes it to fail in telemetry_perf_unittests when it is not run
24 # as the first of the benchmark_smoke_unittest test cases.
25 # See crbug.com/428207.
26 #@benchmark.Enabled('android')
27 @benchmark.Disabled
28 class PolymerLoadTopeka(benchmark.Benchmark):
29 """Measures time to polymer-ready for Topeka (Quiz App)."""
30 test = polymer_load.PolymerLoadMeasurement
31 page_set = page_sets.TopekaPageSet
32 @classmethod
33 def Name(cls):
34 return 'polymer_load.topeka'