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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 """Measures rendering statistics while scrolling advertisements.""" | 489 """Measures rendering statistics while scrolling advertisements.""" |
490 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 490 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
491 | 491 |
492 @classmethod | 492 @classmethod |
493 def Name(cls): | 493 def Name(cls): |
494 return 'smoothness.tough_webgl_ad_cases' | 494 return 'smoothness.tough_webgl_ad_cases' |
495 | 495 |
496 @classmethod | 496 @classmethod |
497 def ShouldDisable(cls, possible_browser): | 497 def ShouldDisable(cls, possible_browser): |
498 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 498 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| 499 |
| 500 class SmoothnessSnappoints(perf_benchmark.PerfBenchmark): |
| 501 """Measures rendering statistics while scrolling down a page with a large |
| 502 number of snappoints. |
| 503 |
| 504 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
| 505 """ |
| 506 test = smoothness.Smoothness |
| 507 page_set = page_sets.SnappointsCasesPageSet |
| 508 |
| 509 @classmethod |
| 510 def Name(cls): |
| 511 return 'smoothness.snappoints' |
OLD | NEW |