| 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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 return cls.IsSvelte(possible_browser) # http://crbug.com/555089 | 484 return cls.IsSvelte(possible_browser) # http://crbug.com/555089 |
| 485 | 485 |
| 486 | 486 |
| 487 # http://crbug.com/522619 (mac/win) | 487 # http://crbug.com/522619 (mac/win) |
| 488 @benchmark.Disabled('win', 'mac') | 488 @benchmark.Disabled('win', 'mac') |
| 489 class SmoothnessScrollingToughAdCases(_Smoothness): | 489 class SmoothnessScrollingToughAdCases(_Smoothness): |
| 490 """Measures rendering statistics while scrolling advertisements.""" | 490 """Measures rendering statistics while scrolling advertisements.""" |
| 491 page_set = page_sets.ScrollingToughAdCasesPageSet | 491 page_set = page_sets.ScrollingToughAdCasesPageSet |
| 492 | 492 |
| 493 @classmethod | 493 @classmethod |
| 494 def ShouldDisable(cls, possible_browser): # http://crbug.com/593152 |
| 495 return (possible_browser.browser_type == 'reference' and |
| 496 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') |
| 497 |
| 498 @classmethod |
| 494 def Name(cls): | 499 def Name(cls): |
| 495 return 'smoothness.scrolling_tough_ad_cases' | 500 return 'smoothness.scrolling_tough_ad_cases' |
| 496 | 501 |
| 497 | 502 |
| 498 @benchmark.Disabled('android-reference') # crbug.com/588786 | 503 @benchmark.Disabled('android-reference') # crbug.com/588786 |
| 499 @benchmark.Disabled('mac', 'win') # crbug.com/522619 (mac/win) | 504 @benchmark.Disabled('mac', 'win') # crbug.com/522619 (mac/win) |
| 500 class SmoothnessBidirectionallyScrollingToughAdCases(_Smoothness): | 505 class SmoothnessBidirectionallyScrollingToughAdCases(_Smoothness): |
| 501 """Measures rendering statistics while scrolling advertisements.""" | 506 """Measures rendering statistics while scrolling advertisements.""" |
| 502 page_set = page_sets.BidirectionallyScrollingToughAdCasesPageSet | 507 page_set = page_sets.BidirectionallyScrollingToughAdCasesPageSet |
| 503 | 508 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 514 """Measures rendering statistics while scrolling advertisements.""" | 519 """Measures rendering statistics while scrolling advertisements.""" |
| 515 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 520 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 516 | 521 |
| 517 @classmethod | 522 @classmethod |
| 518 def Name(cls): | 523 def Name(cls): |
| 519 return 'smoothness.tough_webgl_ad_cases' | 524 return 'smoothness.tough_webgl_ad_cases' |
| 520 | 525 |
| 521 @classmethod | 526 @classmethod |
| 522 def ShouldDisable(cls, possible_browser): | 527 def ShouldDisable(cls, possible_browser): |
| 523 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 528 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |