| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 http://www.chromium.org/developers/design-documents/rendering-benchmarks | 43 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
| 44 """ | 44 """ |
| 45 page_set = page_sets.Top25SmoothPageSet | 45 page_set = page_sets.Top25SmoothPageSet |
| 46 | 46 |
| 47 @classmethod | 47 @classmethod |
| 48 def Name(cls): | 48 def Name(cls): |
| 49 return 'smoothness.top_25_smooth' | 49 return 'smoothness.top_25_smooth' |
| 50 | 50 |
| 51 @classmethod | 51 @classmethod |
| 52 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 | 52 def ShouldDisable(cls, possible_browser): |
| 53 return (possible_browser.browser_type == 'reference' and | 53 # http://crbug.com/597656 |
| 54 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') | 54 if (possible_browser.browser_type == 'reference' and |
| 55 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X'): |
| 56 return True |
| 57 # http://crbug.com/650762 |
| 58 if (possible_browser.browser_type == 'reference' and |
| 59 possible_browser.platform.GetOSName() == 'win'): |
| 60 return True |
| 61 return False |
| 55 | 62 |
| 56 | 63 |
| 57 class SmoothnessToughFiltersCases(_Smoothness): | 64 class SmoothnessToughFiltersCases(_Smoothness): |
| 58 """Measures frame rate and a variety of other statistics. | 65 """Measures frame rate and a variety of other statistics. |
| 59 | 66 |
| 60 Uses a selection of pages making use of SVG and CSS Filter Effects. | 67 Uses a selection of pages making use of SVG and CSS Filter Effects. |
| 61 """ | 68 """ |
| 62 page_set = page_sets.ToughFiltersCasesPageSet | 69 page_set = page_sets.ToughFiltersCasesPageSet |
| 63 | 70 |
| 64 @classmethod | 71 @classmethod |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 """Measures rendering statistics while scrolling advertisements.""" | 493 """Measures rendering statistics while scrolling advertisements.""" |
| 487 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 494 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 488 | 495 |
| 489 @classmethod | 496 @classmethod |
| 490 def Name(cls): | 497 def Name(cls): |
| 491 return 'smoothness.tough_webgl_ad_cases' | 498 return 'smoothness.tough_webgl_ad_cases' |
| 492 | 499 |
| 493 @classmethod | 500 @classmethod |
| 494 def ShouldDisable(cls, possible_browser): | 501 def ShouldDisable(cls, possible_browser): |
| 495 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 502 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |