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 28 matching lines...) Expand all Loading... |
39 return 'rasterize_and_record_micro' | 39 return 'rasterize_and_record_micro' |
40 | 40 |
41 def CreatePageTest(self, options): | 41 def CreatePageTest(self, options): |
42 return rasterize_and_record_micro.RasterizeAndRecordMicro( | 42 return rasterize_and_record_micro.RasterizeAndRecordMicro( |
43 options.start_wait_time, options.rasterize_repeat, | 43 options.start_wait_time, options.rasterize_repeat, |
44 options.record_repeat, options.timeout, options.report_detailed_results) | 44 options.record_repeat, options.timeout, options.report_detailed_results) |
45 | 45 |
46 | 46 |
47 # RasterizeAndRecord disabled on mac because of crbug.com/350684. | 47 # RasterizeAndRecord disabled on mac because of crbug.com/350684. |
48 # RasterizeAndRecord disabled on windows because of crbug.com/338057. | 48 # RasterizeAndRecord disabled on windows because of crbug.com/338057. |
49 @benchmark.Disabled('mac', 'win') | 49 # RasterizeAndRecord disabled on linux because of crbug.com/600377. |
| 50 # RasterizeAndRecord disabled on android because of crbug.com/605120. |
| 51 @benchmark.Disabled('mac', 'win', 'linux', 'android') |
50 class RasterizeAndRecordMicroTop25(_RasterizeAndRecordMicro): | 52 class RasterizeAndRecordMicroTop25(_RasterizeAndRecordMicro): |
51 """Measures rasterize and record performance on the top 25 web pages. | 53 """Measures rasterize and record performance on the top 25 web pages. |
52 | 54 |
53 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 55 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
54 page_set = page_sets.Top25PageSet | 56 page_set = page_sets.Top25PageSet |
55 | 57 |
56 @classmethod | 58 @classmethod |
57 def Name(cls): | 59 def Name(cls): |
58 return 'rasterize_and_record_micro.top_25_smooth' | 60 return 'rasterize_and_record_micro.top_25_smooth' |
59 | 61 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 _RasterizeAndRecordMicro.AddBenchmarkCommandLineArgs(parser) | 116 _RasterizeAndRecordMicro.AddBenchmarkCommandLineArgs(parser) |
115 ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) | 117 ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser) |
116 | 118 |
117 @classmethod | 119 @classmethod |
118 def ProcessCommandLineArgs(cls, parser, args): | 120 def ProcessCommandLineArgs(cls, parser, args): |
119 ct_benchmarks_util.ValidateCommandLineArgs(parser, args) | 121 ct_benchmarks_util.ValidateCommandLineArgs(parser, args) |
120 | 122 |
121 def CreateStorySet(self, options): | 123 def CreateStorySet(self, options): |
122 return page_sets.CTPageSet( | 124 return page_sets.CTPageSet( |
123 options.urls_list, options.user_agent, options.archive_data_file) | 125 options.urls_list, options.user_agent, options.archive_data_file) |
OLD | NEW |