| 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 telemetry import benchmark | 10 from telemetry import benchmark |
| (...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_smooth' | 72 return 'rasterize_and_record_micro.key_mobile_sites_smooth' |
| 73 | 73 |
| 74 | 74 |
| 75 @benchmark.Disabled('mac', 'win') | 75 @benchmark.Disabled('mac', 'win', 'android') # 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 29 matching lines...) Expand all Loading... |
| 115 _RasterizeAndRecordMicro.AddBenchmarkCommandLineArgs(parser) | 115 _RasterizeAndRecordMicro.AddBenchmarkCommandLineArgs(parser) |
| 116 ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) | 116 ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) |
| 117 | 117 |
| 118 @classmethod | 118 @classmethod |
| 119 def ProcessCommandLineArgs(cls, parser, args): | 119 def ProcessCommandLineArgs(cls, parser, args): |
| 120 ct_benchmarks_util.ValidateCommandLineArgs(parser, args) | 120 ct_benchmarks_util.ValidateCommandLineArgs(parser, args) |
| 121 | 121 |
| 122 def CreateStorySet(self, options): | 122 def CreateStorySet(self, options): |
| 123 return page_sets.CTPageSet( | 123 return page_sets.CTPageSet( |
| 124 options.urls_list, options.user_agent, options.archive_data_file) | 124 options.urls_list, options.user_agent, options.archive_data_file) |
| OLD | NEW |