| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| 60 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 60 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 61 page_set = page_sets.KeyMobileSitesSmoothPageSet | 61 page_set = page_sets.KeyMobileSitesPageSet |
| 62 | 62 |
| 63 @classmethod | 63 @classmethod |
| 64 def Name(cls): | 64 def Name(cls): |
| 65 return 'rasterize_and_record_micro.key_mobile_sites_smooth' | 65 return 'rasterize_and_record_micro.key_mobile_sites_smooth' |
| 66 | 66 |
| 67 | 67 |
| 68 @benchmark.Disabled('mac', 'win') | 68 @benchmark.Disabled('mac', 'win') |
| 69 class RasterizeAndRecordMicroKeySilkCases(_RasterizeAndRecordMicro): | 69 class RasterizeAndRecordMicroKeySilkCases(_RasterizeAndRecordMicro): |
| 70 """Measures rasterize and record performance on the silk sites. | 70 """Measures rasterize and record performance on the silk sites. |
| 71 | 71 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 82 @benchmark.Enabled('android') | 82 @benchmark.Enabled('android') |
| 83 class RasterizeAndRecordMicroPolymer(_RasterizeAndRecordMicro): | 83 class RasterizeAndRecordMicroPolymer(_RasterizeAndRecordMicro): |
| 84 """Measures rasterize and record performance on the Polymer cases. | 84 """Measures rasterize and record performance on the Polymer cases. |
| 85 | 85 |
| 86 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 86 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 87 page_set = page_sets.PolymerPageSet | 87 page_set = page_sets.PolymerPageSet |
| 88 @classmethod | 88 @classmethod |
| 89 def Name(cls): | 89 def Name(cls): |
| 90 return 'rasterize_and_record_micro.polymer' | 90 return 'rasterize_and_record_micro.polymer' |
| 91 | 91 |
| OLD | NEW |