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 measurements
import polymer_load
7 from telemetry
import benchmark
10 @benchmark.Enabled('android')
11 class PolymerLoadPica(benchmark
.Benchmark
):
12 """Measures time to polymer-ready for Pica (News Reader)."""
13 test
= polymer_load
.PolymerLoadMeasurement
14 page_set
= page_sets
.PicaPageSet
17 # There is something weird about this test (or a test that precedes it)
18 # that causes it to fail in telemetry_perf_unittests when it is not run
19 # as the first of the benchmark_smoke_unittest test cases.
20 # See crbug.com/428207.
21 #@benchmark.Enabled('android')
23 class PolymerLoadTopeka(benchmark
.Benchmark
):
24 """Measures time to polymer-ready for Topeka (Quiz App)."""
25 test
= polymer_load
.PolymerLoadMeasurement
26 page_set
= page_sets
.TopekaPageSet