| 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 core import perf_benchmark | 5 from core import perf_benchmark |
| 6 | 6 |
| 7 from measurements import draw_properties | 7 from measurements import draw_properties |
| 8 import page_sets | 8 import page_sets |
| 9 from telemetry import benchmark | 9 from telemetry import benchmark |
| 10 | 10 |
| 11 | 11 |
| 12 # This benchmark depends on tracing categories available in M43 | 12 # This benchmark depends on tracing categories available in M43 |
| 13 # This benchmark is still useful for manual testing, but need not be enabled | 13 # This benchmark is still useful for manual testing, but need not be enabled |
| 14 # and run regularly. | 14 # and run regularly. |
| 15 @benchmark.Disabled() | 15 @benchmark.Disabled('all') |
| 16 class DrawPropertiesToughScrolling(perf_benchmark.PerfBenchmark): | 16 class DrawPropertiesToughScrolling(perf_benchmark.PerfBenchmark): |
| 17 test = draw_properties.DrawProperties | 17 test = draw_properties.DrawProperties |
| 18 page_set = page_sets.ToughScrollingCasesPageSet | 18 page_set = page_sets.ToughScrollingCasesPageSet |
| 19 @classmethod | 19 @classmethod |
| 20 def Name(cls): | 20 def Name(cls): |
| 21 return 'draw_properties.tough_scrolling' | 21 return 'draw_properties.tough_scrolling' |
| 22 | 22 |
| 23 | 23 |
| 24 # This benchmark depends on tracing categories available in M43 | 24 # This benchmark depends on tracing categories available in M43 |
| 25 # This benchmark is still useful for manual testing, but need not be enabled | 25 # This benchmark is still useful for manual testing, but need not be enabled |
| 26 # and run regularly. | 26 # and run regularly. |
| 27 @benchmark.Disabled() | 27 @benchmark.Disabled('all') |
| 28 class DrawPropertiesTop25(perf_benchmark.PerfBenchmark): | 28 class DrawPropertiesTop25(perf_benchmark.PerfBenchmark): |
| 29 """Measures the performance of computing draw properties from property trees. | 29 """Measures the performance of computing draw properties from property trees. |
| 30 | 30 |
| 31 http://www.chromium.org/developers/design-documents/rendering-benchmarks | 31 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
| 32 """ | 32 """ |
| 33 test = draw_properties.DrawProperties | 33 test = draw_properties.DrawProperties |
| 34 page_set = page_sets.Top25SmoothPageSet | 34 page_set = page_sets.Top25SmoothPageSet |
| 35 | 35 |
| 36 @classmethod | 36 @classmethod |
| 37 def Name(cls): | 37 def Name(cls): |
| 38 return 'draw_properties.top_25' | 38 return 'draw_properties.top_25' |
| OLD | NEW |