| 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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 @classmethod | 504 @classmethod |
| 505 def Name(cls): | 505 def Name(cls): |
| 506 return 'smoothness.tough_ad_cases' | 506 return 'smoothness.tough_ad_cases' |
| 507 | 507 |
| 508 @classmethod | 508 @classmethod |
| 509 def ShouldDisable(cls, possible_browser): | 509 def ShouldDisable(cls, possible_browser): |
| 510 return cls.IsSvelte(possible_browser) # http://crbug.com/555089 | 510 return cls.IsSvelte(possible_browser) # http://crbug.com/555089 |
| 511 | 511 |
| 512 | 512 |
| 513 # http://crbug.com/522619 (mac/win) | 513 # http://crbug.com/522619 (mac/win) |
| 514 @benchmark.Disabled('win', 'mac') | 514 # http://crbug.com/607616 (android) |
| 515 @benchmark.Disabled('win', 'mac', 'android') |
| 515 class SmoothnessScrollingToughAdCases(_Smoothness): | 516 class SmoothnessScrollingToughAdCases(_Smoothness): |
| 516 """Measures rendering statistics while scrolling advertisements.""" | 517 """Measures rendering statistics while scrolling advertisements.""" |
| 517 page_set = page_sets.ScrollingToughAdCasesPageSet | 518 page_set = page_sets.ScrollingToughAdCasesPageSet |
| 518 | 519 |
| 519 @classmethod | 520 @classmethod |
| 520 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 | 521 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 |
| 521 return (possible_browser.browser_type == 'reference' and | 522 return (possible_browser.browser_type == 'reference' and |
| 522 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') | 523 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') |
| 523 | 524 |
| 524 @classmethod | 525 @classmethod |
| (...skipping 20 matching lines...) Expand all Loading... |
| 545 """Measures rendering statistics while scrolling advertisements.""" | 546 """Measures rendering statistics while scrolling advertisements.""" |
| 546 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 547 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 547 | 548 |
| 548 @classmethod | 549 @classmethod |
| 549 def Name(cls): | 550 def Name(cls): |
| 550 return 'smoothness.tough_webgl_ad_cases' | 551 return 'smoothness.tough_webgl_ad_cases' |
| 551 | 552 |
| 552 @classmethod | 553 @classmethod |
| 553 def ShouldDisable(cls, possible_browser): | 554 def ShouldDisable(cls, possible_browser): |
| 554 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 555 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |