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