| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 Uses a selection of pages making use of SVG and CSS Filter Effects. | 60 Uses a selection of pages making use of SVG and CSS Filter Effects. |
| 61 """ | 61 """ |
| 62 page_set = page_sets.ToughFiltersCasesPageSet | 62 page_set = page_sets.ToughFiltersCasesPageSet |
| 63 | 63 |
| 64 @classmethod | 64 @classmethod |
| 65 def Name(cls): | 65 def Name(cls): |
| 66 return 'smoothness.tough_filters_cases' | 66 return 'smoothness.tough_filters_cases' |
| 67 | 67 |
| 68 @classmethod | 68 @classmethod |
| 69 def ShouldDisable(cls, possible_browser): | 69 def ShouldDisable(cls, possible_browser): |
| 70 # http://crbug.com/616520 |
| 71 if (cls.IsSvelte(possible_browser) and |
| 72 possible_browser.browser_type == 'reference'): |
| 73 return True |
| 70 # http://crbug.com/624032 | 74 # http://crbug.com/624032 |
| 71 if possible_browser.platform.GetDeviceTypeName() == 'Nexus 6': | 75 if possible_browser.platform.GetDeviceTypeName() == 'Nexus 6': |
| 72 return True | 76 return True |
| 73 return False | 77 return False |
| 74 | 78 |
| 75 | 79 |
| 76 class SmoothnessToughPathRenderingCases(_Smoothness): | 80 class SmoothnessToughPathRenderingCases(_Smoothness): |
| 77 """Tests a selection of pages with SVG and 2D Canvas paths. | 81 """Tests a selection of pages with SVG and 2D Canvas paths. |
| 78 | 82 |
| 79 Measures frame rate and a variety of other statistics. """ | 83 Measures frame rate and a variety of other statistics. """ |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 """Measures rendering statistics while scrolling advertisements.""" | 480 """Measures rendering statistics while scrolling advertisements.""" |
| 477 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 481 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 478 | 482 |
| 479 @classmethod | 483 @classmethod |
| 480 def Name(cls): | 484 def Name(cls): |
| 481 return 'smoothness.tough_webgl_ad_cases' | 485 return 'smoothness.tough_webgl_ad_cases' |
| 482 | 486 |
| 483 @classmethod | 487 @classmethod |
| 484 def ShouldDisable(cls, possible_browser): | 488 def ShouldDisable(cls, possible_browser): |
| 485 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 489 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |