Chromium Code Reviews| 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 # This benchmark depends on tracing categories available in M43 | 11 # This benchmark depends on tracing categories available in M43 |
| 12 @benchmark.Disabled('reference','win', # http://crbug.com/463111 | 12 @benchmark.Disabled('reference', # http://crbug.com/463111 |
|
nednguyen
2015/04/16 21:29:07
Should we remove the "# http://crbug.com/463111"?
| |
| 13 'android') # http://crbug.com/471786 | 13 'android') # http://crbug.com/471786 |
| 14 class DrawPropertiesToughScrolling(benchmark.Benchmark): | 14 class DrawPropertiesToughScrolling(benchmark.Benchmark): |
| 15 test = draw_properties.DrawProperties | 15 test = draw_properties.DrawProperties |
| 16 page_set = page_sets.ToughScrollingCasesPageSet | 16 page_set = page_sets.ToughScrollingCasesPageSet |
| 17 @classmethod | 17 @classmethod |
| 18 def Name(cls): | 18 def Name(cls): |
| 19 return 'draw_properties.tough_scrolling' | 19 return 'draw_properties.tough_scrolling' |
| 20 | 20 |
| 21 | 21 |
| 22 # This benchmark depends on tracing categories available in M43 | 22 # This benchmark depends on tracing categories available in M43 |
| 23 @benchmark.Disabled('reference','win', # http://crbug.com/463111 | 23 @benchmark.Disabled('reference','win', # http://crbug.com/463111 |
| 24 'android') # http://crbug.com/471786 | 24 'android') # http://crbug.com/471786 |
| 25 class DrawPropertiesTop25(benchmark.Benchmark): | 25 class DrawPropertiesTop25(benchmark.Benchmark): |
| 26 """Measures the relative performance of CalcDrawProperties vs computing draw | 26 """Measures the relative performance of CalcDrawProperties vs computing draw |
| 27 properties from property trees. | 27 properties from property trees. |
| 28 | 28 |
| 29 http://www.chromium.org/developers/design-documents/rendering-benchmarks | 29 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
| 30 """ | 30 """ |
| 31 test = draw_properties.DrawProperties | 31 test = draw_properties.DrawProperties |
| 32 page_set = page_sets.Top25SmoothPageSet | 32 page_set = page_sets.Top25SmoothPageSet |
| 33 | 33 |
| 34 @classmethod | 34 @classmethod |
| 35 def Name(cls): | 35 def Name(cls): |
| 36 return 'draw_properties.top_25' | 36 return 'draw_properties.top_25' |
| OLD | NEW |