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
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
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')
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
34 return 'polymer_load.topeka'