| 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 return cls.IsSvelte(possible_browser) # http://crbug.com/555089 | 491 return cls.IsSvelte(possible_browser) # http://crbug.com/555089 |
| 492 | 492 |
| 493 | 493 |
| 494 # http://crbug.com/522619 (mac/win) | 494 # http://crbug.com/522619 (mac/win) |
| 495 @benchmark.Disabled('win', 'mac') | 495 @benchmark.Disabled('win', 'mac') |
| 496 class SmoothnessScrollingToughAdCases(_Smoothness): | 496 class SmoothnessScrollingToughAdCases(_Smoothness): |
| 497 """Measures rendering statistics while scrolling advertisements.""" | 497 """Measures rendering statistics while scrolling advertisements.""" |
| 498 page_set = page_sets.ScrollingToughAdCasesPageSet | 498 page_set = page_sets.ScrollingToughAdCasesPageSet |
| 499 | 499 |
| 500 @classmethod | 500 @classmethod |
| 501 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 |
| 502 return (possible_browser.browser_type == 'reference' and |
| 503 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') |
| 504 |
| 505 @classmethod |
| 501 def Name(cls): | 506 def Name(cls): |
| 502 return 'smoothness.scrolling_tough_ad_cases' | 507 return 'smoothness.scrolling_tough_ad_cases' |
| 503 | 508 |
| 504 | 509 |
| 505 @benchmark.Disabled('android-reference') # crbug.com/588786 | 510 @benchmark.Disabled('android-reference') # crbug.com/588786 |
| 506 @benchmark.Disabled('mac', 'win') # crbug.com/522619 (mac/win) | 511 @benchmark.Disabled('mac', 'win') # crbug.com/522619 (mac/win) |
| 507 class SmoothnessBidirectionallyScrollingToughAdCases(_Smoothness): | 512 class SmoothnessBidirectionallyScrollingToughAdCases(_Smoothness): |
| 508 """Measures rendering statistics while scrolling advertisements.""" | 513 """Measures rendering statistics while scrolling advertisements.""" |
| 509 page_set = page_sets.BidirectionallyScrollingToughAdCasesPageSet | 514 page_set = page_sets.BidirectionallyScrollingToughAdCasesPageSet |
| 510 | 515 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 521 """Measures rendering statistics while scrolling advertisements.""" | 526 """Measures rendering statistics while scrolling advertisements.""" |
| 522 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 527 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 523 | 528 |
| 524 @classmethod | 529 @classmethod |
| 525 def Name(cls): | 530 def Name(cls): |
| 526 return 'smoothness.tough_webgl_ad_cases' | 531 return 'smoothness.tough_webgl_ad_cases' |
| 527 | 532 |
| 528 @classmethod | 533 @classmethod |
| 529 def ShouldDisable(cls, possible_browser): | 534 def ShouldDisable(cls, possible_browser): |
| 530 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 535 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |