| 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 measurements import rasterize_and_record_micro | 5 from measurements import rasterize_and_record_micro |
| 6 import page_sets | 6 import page_sets |
| 7 from telemetry import benchmark | 7 from telemetry import benchmark |
| 8 | 8 |
| 9 | 9 |
| 10 class _RasterizeAndRecordMicro(benchmark.Benchmark): | 10 class _RasterizeAndRecordMicro(benchmark.Benchmark): |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 options.start_wait_time, options.rasterize_repeat, | 39 options.start_wait_time, options.rasterize_repeat, |
| 40 options.record_repeat, options.timeout, options.report_detailed_results) | 40 options.record_repeat, options.timeout, options.report_detailed_results) |
| 41 | 41 |
| 42 # RasterizeAndRecord disabled on mac because of crbug.com/350684. | 42 # RasterizeAndRecord disabled on mac because of crbug.com/350684. |
| 43 # RasterizeAndRecord disabled on windows because of crbug.com/338057. | 43 # RasterizeAndRecord disabled on windows because of crbug.com/338057. |
| 44 @benchmark.Disabled('mac', 'win') | 44 @benchmark.Disabled('mac', 'win') |
| 45 class RasterizeAndRecordMicroTop25(_RasterizeAndRecordMicro): | 45 class RasterizeAndRecordMicroTop25(_RasterizeAndRecordMicro): |
| 46 """Measures rasterize and record performance on the top 25 web pages. | 46 """Measures rasterize and record performance on the top 25 web pages. |
| 47 | 47 |
| 48 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 48 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 49 page_set = page_sets.Top25SmoothPageSet | 49 page_set = page_sets.Top25PageSet |
| 50 | 50 |
| 51 @classmethod | 51 @classmethod |
| 52 def Name(cls): | 52 def Name(cls): |
| 53 return 'rasterize_and_record_micro.top_25_smooth' | 53 return 'rasterize_and_record_micro.top_25_smooth' |
| 54 | 54 |
| 55 | 55 |
| 56 @benchmark.Disabled('mac', 'win') | 56 @benchmark.Disabled('mac', 'win') |
| 57 class RasterizeAndRecordMicroKeyMobileSites(_RasterizeAndRecordMicro): | 57 class RasterizeAndRecordMicroKeyMobileSites(_RasterizeAndRecordMicro): |
| 58 """Measures rasterize and record performance on the key mobile sites. | 58 """Measures rasterize and record performance on the key mobile sites. |
| 59 | 59 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 80 @benchmark.Enabled('android') | 80 @benchmark.Enabled('android') |
| 81 class RasterizeAndRecordMicroPolymer(_RasterizeAndRecordMicro): | 81 class RasterizeAndRecordMicroPolymer(_RasterizeAndRecordMicro): |
| 82 """Measures rasterize and record performance on the Polymer cases. | 82 """Measures rasterize and record performance on the Polymer cases. |
| 83 | 83 |
| 84 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 84 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 85 page_set = page_sets.PolymerPageSet | 85 page_set = page_sets.PolymerPageSet |
| 86 @classmethod | 86 @classmethod |
| 87 def Name(cls): | 87 def Name(cls): |
| 88 return 'rasterize_and_record_micro.polymer' | 88 return 'rasterize_and_record_micro.polymer' |
| 89 | 89 |
| OLD | NEW |