| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 rasterize_and_record_micro | 5 from measurements import rasterize_and_record_micro |
| 6 import page_sets | 6 import page_sets |
| 7 from telemetry import benchmark | 7 from telemetry import benchmark |
| 8 | 8 |
| 9 | 9 |
| 10 class _RasterizeAndRecordMicro(benchmark.Benchmark): | 10 class _RasterizeAndRecordMicro(benchmark.Benchmark): |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 def CreatePageSet(self, options): | 78 def CreatePageSet(self, options): |
| 79 return page_sets.KeySilkCasesPageSet(run_no_page_interactions=True) | 79 return page_sets.KeySilkCasesPageSet(run_no_page_interactions=True) |
| 80 | 80 |
| 81 | 81 |
| 82 @benchmark.Enabled('android') | 82 @benchmark.Enabled('android') |
| 83 class RasterizeAndRecordMicroPolymer(_RasterizeAndRecordMicro): | 83 class RasterizeAndRecordMicroPolymer(_RasterizeAndRecordMicro): |
| 84 """Measures rasterize and record performance on the Polymer cases. | 84 """Measures rasterize and record performance on the Polymer cases. |
| 85 | 85 |
| 86 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 86 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 87 page_set = page_sets.PolymerPageSet | 87 |
| 88 @classmethod | 88 @classmethod |
| 89 def Name(cls): | 89 def Name(cls): |
| 90 return 'rasterize_and_record_micro.polymer' | 90 return 'rasterize_and_record_micro.polymer' |
| 91 | 91 |
| 92 def CreatePageSet(self, options): |
| 93 return page_sets.PolymerPageSet(run_no_page_interactions=True) |
| OLD | NEW |