| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 telemetry import benchmark | 5 from telemetry import benchmark |
| 6 | 6 |
| 7 from measurements import draw_properties | 7 from measurements import draw_properties |
| 8 import page_sets | 8 import page_sets |
| 9 | 9 |
| 10 | 10 |
| 11 @benchmark.Disabled() # http://crbug.com/463111 |
| 11 class DrawPropertiesToughScrolling(benchmark.Benchmark): | 12 class DrawPropertiesToughScrolling(benchmark.Benchmark): |
| 12 test = draw_properties.DrawProperties | 13 test = draw_properties.DrawProperties |
| 13 page_set = page_sets.ToughScrollingCasesPageSet | 14 page_set = page_sets.ToughScrollingCasesPageSet |
| 14 @classmethod | 15 @classmethod |
| 15 def Name(cls): | 16 def Name(cls): |
| 16 return 'draw_properties.tough_scrolling' | 17 return 'draw_properties.tough_scrolling' |
| 17 | 18 |
| 19 |
| 20 @benchmark.Disabled() # http://crbug.com/463111 |
| 18 class DrawPropertiesTop25(benchmark.Benchmark): | 21 class DrawPropertiesTop25(benchmark.Benchmark): |
| 19 """Measures the relative performance of CalcDrawProperties vs computing draw | 22 """Measures the relative performance of CalcDrawProperties vs computing draw |
| 20 properties from property trees. | 23 properties from property trees. |
| 21 | 24 |
| 22 http://www.chromium.org/developers/design-documents/rendering-benchmarks | 25 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
| 23 """ | 26 """ |
| 24 test = draw_properties.DrawProperties | 27 test = draw_properties.DrawProperties |
| 25 page_set = page_sets.Top25SmoothPageSet | 28 page_set = page_sets.Top25SmoothPageSet |
| 26 | 29 |
| 27 @classmethod | 30 @classmethod |
| 28 def Name(cls): | 31 def Name(cls): |
| 29 return 'draw_properties.top_25' | 32 return 'draw_properties.top_25' |
| OLD | NEW |