| 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 import multiprocessing | 4 import multiprocessing |
| 5 | 5 |
| 6 from core import perf_benchmark | 6 from core import perf_benchmark |
| 7 | 7 |
| 8 from benchmarks import silk_flags | 8 from benchmarks import silk_flags |
| 9 from measurements import smoothness | 9 from measurements import smoothness |
| 10 import page_sets | 10 import page_sets |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 133 |
| 134 @benchmark.Disabled('android', | 134 @benchmark.Disabled('android', |
| 135 'mac') # crbug.com/567802 | 135 'mac') # crbug.com/567802 |
| 136 class SmoothnessKeyDesktopMoveCases(_Smoothness): | 136 class SmoothnessKeyDesktopMoveCases(_Smoothness): |
| 137 page_set = page_sets.KeyDesktopMoveCasesPageSet | 137 page_set = page_sets.KeyDesktopMoveCasesPageSet |
| 138 | 138 |
| 139 @classmethod | 139 @classmethod |
| 140 def Name(cls): | 140 def Name(cls): |
| 141 return 'smoothness.key_desktop_move_cases' | 141 return 'smoothness.key_desktop_move_cases' |
| 142 | 142 |
| 143 @classmethod |
| 144 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 |
| 145 return (possible_browser.browser_type == 'reference' and |
| 146 possible_browser.platform.GetOSName() == 'win') |
| 147 |
| 143 | 148 |
| 144 @benchmark.Enabled('android') | 149 @benchmark.Enabled('android') |
| 145 class SmoothnessKeyMobileSites(_Smoothness): | 150 class SmoothnessKeyMobileSites(_Smoothness): |
| 146 """Measures rendering statistics while scrolling down the key mobile sites. | 151 """Measures rendering statistics while scrolling down the key mobile sites. |
| 147 | 152 |
| 148 http://www.chromium.org/developers/design-documents/rendering-benchmarks | 153 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
| 149 """ | 154 """ |
| 150 page_set = page_sets.KeyMobileSitesSmoothPageSet | 155 page_set = page_sets.KeyMobileSitesSmoothPageSet |
| 151 | 156 |
| 152 @classmethod | 157 @classmethod |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 """Measures rendering statistics while scrolling advertisements.""" | 499 """Measures rendering statistics while scrolling advertisements.""" |
| 495 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 500 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 496 | 501 |
| 497 @classmethod | 502 @classmethod |
| 498 def Name(cls): | 503 def Name(cls): |
| 499 return 'smoothness.tough_webgl_ad_cases' | 504 return 'smoothness.tough_webgl_ad_cases' |
| 500 | 505 |
| 501 @classmethod | 506 @classmethod |
| 502 def ShouldDisable(cls, possible_browser): | 507 def ShouldDisable(cls, possible_browser): |
| 503 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 508 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |