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