| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 @benchmark.Disabled('android-reference') # crbug.com/588786 | 132 @benchmark.Disabled('android-reference') # crbug.com/588786 |
| 133 @benchmark.Disabled('mac') # crbug.com/563615 | 133 @benchmark.Disabled('mac') # crbug.com/563615 |
| 134 class SmoothnessToughAnimationCases(_Smoothness): | 134 class SmoothnessToughAnimationCases(_Smoothness): |
| 135 test = smoothness.SmoothnessWithRestart | 135 test = smoothness.SmoothnessWithRestart |
| 136 page_set = page_sets.ToughAnimationCasesPageSet | 136 page_set = page_sets.ToughAnimationCasesPageSet |
| 137 | 137 |
| 138 @classmethod | 138 @classmethod |
| 139 def Name(cls): | 139 def Name(cls): |
| 140 return 'smoothness.tough_animation_cases' | 140 return 'smoothness.tough_animation_cases' |
| 141 | 141 |
| 142 @classmethod |
| 143 def ShouldDisable(cls, possible_browser): |
| 144 # crbug.com/596035 |
| 145 return possible_browser.platform.GetDeviceTypeName() == 'Nexus 6' |
| 146 |
| 142 | 147 |
| 143 @benchmark.Enabled('android') | 148 @benchmark.Enabled('android') |
| 144 class SmoothnessKeySilkCases(_Smoothness): | 149 class SmoothnessKeySilkCases(_Smoothness): |
| 145 """Measures rendering statistics for the key silk cases without GPU | 150 """Measures rendering statistics for the key silk cases without GPU |
| 146 rasterization. | 151 rasterization. |
| 147 """ | 152 """ |
| 148 page_set = page_sets.KeySilkCasesPageSet | 153 page_set = page_sets.KeySilkCasesPageSet |
| 149 | 154 |
| 150 @classmethod | 155 @classmethod |
| 151 def Name(cls): | 156 def Name(cls): |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 """Measures rendering statistics while scrolling advertisements.""" | 524 """Measures rendering statistics while scrolling advertisements.""" |
| 520 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 525 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 521 | 526 |
| 522 @classmethod | 527 @classmethod |
| 523 def Name(cls): | 528 def Name(cls): |
| 524 return 'smoothness.tough_webgl_ad_cases' | 529 return 'smoothness.tough_webgl_ad_cases' |
| 525 | 530 |
| 526 @classmethod | 531 @classmethod |
| 527 def ShouldDisable(cls, possible_browser): | 532 def ShouldDisable(cls, possible_browser): |
| 528 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 533 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |