| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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('all') # http://crbug.com/610424 | 75 @benchmark.Disabled('all') # http://crbug.com/610424 |
| 76 @benchmark.Owner(emails=['vmpstr@chromium.org']) |
| 76 class RasterizeAndRecordMicroKeySilkCases(_RasterizeAndRecordMicro): | 77 class RasterizeAndRecordMicroKeySilkCases(_RasterizeAndRecordMicro): |
| 77 """Measures rasterize and record performance on the silk sites. | 78 """Measures rasterize and record performance on the silk sites. |
| 78 | 79 |
| 79 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 80 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 80 | 81 |
| 81 @classmethod | 82 @classmethod |
| 82 def Name(cls): | 83 def Name(cls): |
| 83 return 'rasterize_and_record_micro.key_silk_cases' | 84 return 'rasterize_and_record_micro.key_silk_cases' |
| 84 | 85 |
| 85 def CreateStorySet(self, options): | 86 def CreateStorySet(self, options): |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) | 131 ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) |
| 131 | 132 |
| 132 @classmethod | 133 @classmethod |
| 133 def ProcessCommandLineArgs(cls, parser, args): | 134 def ProcessCommandLineArgs(cls, parser, args): |
| 134 ct_benchmarks_util.ValidateCommandLineArgs(parser, args) | 135 ct_benchmarks_util.ValidateCommandLineArgs(parser, args) |
| 135 | 136 |
| 136 def CreateStorySet(self, options): | 137 def CreateStorySet(self, options): |
| 137 return page_sets.CTPageSet( | 138 return page_sets.CTPageSet( |
| 138 options.urls_list, options.user_agent, options.archive_data_file, | 139 options.urls_list, options.user_agent, options.archive_data_file, |
| 139 run_page_interaction_callback=repaint_helpers.WaitThenRepaint) | 140 run_page_interaction_callback=repaint_helpers.WaitThenRepaint) |
| OLD | NEW |