| 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 core import perf_benchmark | 5 from core import perf_benchmark |
| 6 | 6 |
| 7 from measurements import rasterize_and_record_micro | 7 from measurements import rasterize_and_record_micro |
| 8 from telemetry import benchmark | 8 from telemetry import benchmark |
| 9 import page_sets | 9 import page_sets |
| 10 | 10 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 @benchmark.Disabled('mac', 'win') | 90 @benchmark.Disabled('mac', 'win') |
| 91 class RasterizeAndRecordMicroKeySilkCases(_RasterizeAndRecordMicro): | 91 class RasterizeAndRecordMicroKeySilkCases(_RasterizeAndRecordMicro): |
| 92 """Measures rasterize and record performance on the silk sites. | 92 """Measures rasterize and record performance on the silk sites. |
| 93 | 93 |
| 94 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 94 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 95 | 95 |
| 96 @classmethod | 96 @classmethod |
| 97 def Name(cls): | 97 def Name(cls): |
| 98 return 'rasterize_and_record_micro.key_silk_cases' | 98 return 'rasterize_and_record_micro.key_silk_cases' |
| 99 | 99 |
| 100 def CreateStorySet(self, options): | 100 def CreatePageSet(self, options): |
| 101 return page_sets.KeySilkCasesPageSet(run_no_page_interactions=True) | 101 return page_sets.KeySilkCasesPageSet(run_no_page_interactions=True) |
| 102 | 102 |
| 103 | 103 |
| 104 @benchmark.Enabled('android') | 104 @benchmark.Enabled('android') |
| 105 class RasterizeAndRecordMicroPolymer(_RasterizeAndRecordMicro): | 105 class RasterizeAndRecordMicroPolymer(_RasterizeAndRecordMicro): |
| 106 """Measures rasterize and record performance on the Polymer cases. | 106 """Measures rasterize and record performance on the Polymer cases. |
| 107 | 107 |
| 108 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 108 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 109 | 109 |
| 110 @classmethod | 110 @classmethod |
| 111 def Name(cls): | 111 def Name(cls): |
| 112 return 'rasterize_and_record_micro.polymer' | 112 return 'rasterize_and_record_micro.polymer' |
| 113 | 113 |
| 114 def CreateStorySet(self, options): | 114 def CreatePageSet(self, options): |
| 115 return page_sets.PolymerPageSet(run_no_page_interactions=True) | 115 return page_sets.PolymerPageSet(run_no_page_interactions=True) |
| OLD | NEW |