| 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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 class SmoothnessPathologicalMobileSites(_Smoothness): | 433 class SmoothnessPathologicalMobileSites(_Smoothness): |
| 434 """Measures task execution statistics while scrolling pathological sites. | 434 """Measures task execution statistics while scrolling pathological sites. |
| 435 """ | 435 """ |
| 436 page_set = page_sets.PathologicalMobileSitesPageSet | 436 page_set = page_sets.PathologicalMobileSitesPageSet |
| 437 | 437 |
| 438 @classmethod | 438 @classmethod |
| 439 def Name(cls): | 439 def Name(cls): |
| 440 return 'smoothness.pathological_mobile_sites' | 440 return 'smoothness.pathological_mobile_sites' |
| 441 | 441 |
| 442 | 442 |
| 443 class SmoothnessToughAnimatedImageCases(_Smoothness): | |
| 444 page_set = page_sets.ToughAnimatedImageCasesPageSet | |
| 445 | |
| 446 @classmethod | |
| 447 def Name(cls): | |
| 448 return 'smoothness.tough_animated_image_cases' | |
| 449 | |
| 450 | |
| 451 class SmoothnessToughTextureUploadCases(_Smoothness): | 443 class SmoothnessToughTextureUploadCases(_Smoothness): |
| 452 page_set = page_sets.ToughTextureUploadCasesPageSet | 444 page_set = page_sets.ToughTextureUploadCasesPageSet |
| 453 | 445 |
| 454 @classmethod | 446 @classmethod |
| 455 def Name(cls): | 447 def Name(cls): |
| 456 return 'smoothness.tough_texture_upload_cases' | 448 return 'smoothness.tough_texture_upload_cases' |
| 457 | 449 |
| 458 | 450 |
| 459 class SmoothnessToughAdCases(_Smoothness): | 451 class SmoothnessToughAdCases(_Smoothness): |
| 460 """Measures rendering statistics while displaying advertisements.""" | 452 """Measures rendering statistics while displaying advertisements.""" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 489 """Measures rendering statistics while scrolling advertisements.""" | 481 """Measures rendering statistics while scrolling advertisements.""" |
| 490 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 482 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 491 | 483 |
| 492 @classmethod | 484 @classmethod |
| 493 def Name(cls): | 485 def Name(cls): |
| 494 return 'smoothness.tough_webgl_ad_cases' | 486 return 'smoothness.tough_webgl_ad_cases' |
| 495 | 487 |
| 496 @classmethod | 488 @classmethod |
| 497 def ShouldDisable(cls, possible_browser): | 489 def ShouldDisable(cls, possible_browser): |
| 498 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 490 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |