| 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 core import perf_benchmark | 5 from core import perf_benchmark |
| 6 | 6 |
| 7 from benchmarks import silk_flags | 7 from benchmarks import silk_flags |
| 8 from measurements import smoothness | 8 from measurements import smoothness |
| 9 import page_sets | 9 import page_sets |
| 10 import page_sets.key_silk_cases | 10 import page_sets.key_silk_cases |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 Measures frame rate and a variety of other statistics. """ | 43 Measures frame rate and a variety of other statistics. """ |
| 44 test = smoothness.Smoothness | 44 test = smoothness.Smoothness |
| 45 page_set = page_sets.ToughPathRenderingCasesPageSet | 45 page_set = page_sets.ToughPathRenderingCasesPageSet |
| 46 | 46 |
| 47 @classmethod | 47 @classmethod |
| 48 def Name(cls): | 48 def Name(cls): |
| 49 return 'smoothness.tough_path_rendering_cases' | 49 return 'smoothness.tough_path_rendering_cases' |
| 50 | 50 |
| 51 | 51 |
| 52 @benchmark.Disabled('android') # crbug.com/526901 |
| 52 class SmoothnessToughCanvasCases(perf_benchmark.PerfBenchmark): | 53 class SmoothnessToughCanvasCases(perf_benchmark.PerfBenchmark): |
| 53 """Measures frame rate and a variety of other statistics. | 54 """Measures frame rate and a variety of other statistics. |
| 54 | 55 |
| 55 Uses a selection of pages making use of the 2D Canvas API. | 56 Uses a selection of pages making use of the 2D Canvas API. |
| 56 """ | 57 """ |
| 57 test = smoothness.Smoothness | 58 test = smoothness.Smoothness |
| 58 page_set = page_sets.ToughCanvasCasesPageSet | 59 page_set = page_sets.ToughCanvasCasesPageSet |
| 59 | 60 |
| 60 @classmethod | 61 @classmethod |
| 61 def Name(cls): | 62 def Name(cls): |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 | 427 |
| 427 @benchmark.Disabled('reference') # http://crbug.com/496684 | 428 @benchmark.Disabled('reference') # http://crbug.com/496684 |
| 428 class SmoothnessToughWebGLAdCases(perf_benchmark.PerfBenchmark): | 429 class SmoothnessToughWebGLAdCases(perf_benchmark.PerfBenchmark): |
| 429 """Measures rendering statistics while scrolling advertisements.""" | 430 """Measures rendering statistics while scrolling advertisements.""" |
| 430 test = smoothness.Smoothness | 431 test = smoothness.Smoothness |
| 431 page_set = page_sets.ToughWebglAdCasesPageSet | 432 page_set = page_sets.ToughWebglAdCasesPageSet |
| 432 | 433 |
| 433 @classmethod | 434 @classmethod |
| 434 def Name(cls): | 435 def Name(cls): |
| 435 return 'smoothness.tough_webgl_ad_cases' | 436 return 'smoothness.tough_webgl_ad_cases' |
| OLD | NEW |