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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 class SmoothnessToughTextureUploadCases(_Smoothness): | 462 class SmoothnessToughTextureUploadCases(_Smoothness): |
463 page_set = page_sets.ToughTextureUploadCasesPageSet | 463 page_set = page_sets.ToughTextureUploadCasesPageSet |
464 | 464 |
465 @classmethod | 465 @classmethod |
466 def Name(cls): | 466 def Name(cls): |
467 return 'smoothness.tough_texture_upload_cases' | 467 return 'smoothness.tough_texture_upload_cases' |
468 | 468 |
469 | 469 |
470 class SmoothnessToughAdCases(_Smoothness): | 470 class SmoothnessToughAdCases(_Smoothness): |
471 """Measures rendering statistics while displaying advertisements.""" | 471 """Measures rendering statistics while displaying advertisements.""" |
472 page_set = page_sets.ToughAdCasesPageSet | 472 page_set = page_sets.SyntheticToughAdCasesPageSet |
473 | 473 |
474 @classmethod | 474 @classmethod |
475 def Name(cls): | 475 def Name(cls): |
476 return 'smoothness.tough_ad_cases' | 476 return 'smoothness.tough_ad_cases' |
477 | 477 |
478 @classmethod | 478 @classmethod |
479 def ShouldDisable(cls, possible_browser): | 479 def ShouldDisable(cls, possible_browser): |
480 return cls.IsSvelte(possible_browser) # http://crbug.com/555089 | 480 return cls.IsSvelte(possible_browser) # http://crbug.com/555089 |
481 | 481 |
482 # http://crbug.com/522619 (mac/win) | 482 # http://crbug.com/522619 (mac/win) |
(...skipping 17 matching lines...) Expand all Loading... |
500 # Don't accidentally reload the page while scrolling. | 500 # Don't accidentally reload the page while scrolling. |
501 options.AppendExtraBrowserArgs('--disable-pull-to-refresh-effect') | 501 options.AppendExtraBrowserArgs('--disable-pull-to-refresh-effect') |
502 | 502 |
503 @classmethod | 503 @classmethod |
504 def Name(cls): | 504 def Name(cls): |
505 return 'smoothness.bidirectionally_scrolling_tough_ad_cases' | 505 return 'smoothness.bidirectionally_scrolling_tough_ad_cases' |
506 | 506 |
507 | 507 |
508 class SmoothnessToughWebGLAdCases(_Smoothness): | 508 class SmoothnessToughWebGLAdCases(_Smoothness): |
509 """Measures rendering statistics while scrolling advertisements.""" | 509 """Measures rendering statistics while scrolling advertisements.""" |
510 page_set = page_sets.ToughWebglAdCasesPageSet | 510 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
511 | 511 |
512 @classmethod | 512 @classmethod |
513 def Name(cls): | 513 def Name(cls): |
514 return 'smoothness.tough_webgl_ad_cases' | 514 return 'smoothness.tough_webgl_ad_cases' |
515 | 515 |
516 @classmethod | 516 @classmethod |
517 def ShouldDisable(cls, possible_browser): | 517 def ShouldDisable(cls, possible_browser): |
518 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 518 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
OLD | NEW |