| 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 import ct_benchmarks_util | 7 import ct_benchmarks_util |
| 8 from measurements import rasterize_and_record_micro | 8 from measurements import rasterize_and_record_micro |
| 9 import page_sets | 9 import page_sets |
| 10 from page_sets import repaint_helpers | 10 from page_sets import repaint_helpers |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 """Measures rasterize and record performance on the key mobile sites. | 65 """Measures rasterize and record performance on the key mobile sites. |
| 66 | 66 |
| 67 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 67 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 68 page_set = page_sets.KeyMobileSitesPageSet | 68 page_set = page_sets.KeyMobileSitesPageSet |
| 69 | 69 |
| 70 @classmethod | 70 @classmethod |
| 71 def Name(cls): | 71 def Name(cls): |
| 72 return 'rasterize_and_record_micro.key_mobile_sites' | 72 return 'rasterize_and_record_micro.key_mobile_sites' |
| 73 | 73 |
| 74 | 74 |
| 75 @benchmark.Disabled('mac', 'win', 'android') # http://crbug.com/610424 | 75 @benchmark.Disabled('all') # http://crbug.com/610424 |
| 76 class RasterizeAndRecordMicroKeySilkCases(_RasterizeAndRecordMicro): | 76 class RasterizeAndRecordMicroKeySilkCases(_RasterizeAndRecordMicro): |
| 77 """Measures rasterize and record performance on the silk sites. | 77 """Measures rasterize and record performance on the silk sites. |
| 78 | 78 |
| 79 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 79 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 80 | 80 |
| 81 @classmethod | 81 @classmethod |
| 82 def Name(cls): | 82 def Name(cls): |
| 83 return 'rasterize_and_record_micro.key_silk_cases' | 83 return 'rasterize_and_record_micro.key_silk_cases' |
| 84 | 84 |
| 85 def CreateStorySet(self, options): | 85 def CreateStorySet(self, options): |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) | 130 ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) |
| 131 | 131 |
| 132 @classmethod | 132 @classmethod |
| 133 def ProcessCommandLineArgs(cls, parser, args): | 133 def ProcessCommandLineArgs(cls, parser, args): |
| 134 ct_benchmarks_util.ValidateCommandLineArgs(parser, args) | 134 ct_benchmarks_util.ValidateCommandLineArgs(parser, args) |
| 135 | 135 |
| 136 def CreateStorySet(self, options): | 136 def CreateStorySet(self, options): |
| 137 return page_sets.CTPageSet( | 137 return page_sets.CTPageSet( |
| 138 options.urls_list, options.user_agent, options.archive_data_file, | 138 options.urls_list, options.user_agent, options.archive_data_file, |
| 139 run_page_interaction_callback=repaint_helpers.WaitThenRepaint) | 139 run_page_interaction_callback=repaint_helpers.WaitThenRepaint) |
| OLD | NEW |