| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 """Measures frame rate and a variety of other statistics. | 58 """Measures frame rate and a variety of other statistics. |
| 59 | 59 |
| 60 Uses a selection of pages making use of SVG and CSS Filter Effects. | 60 Uses a selection of pages making use of SVG and CSS Filter Effects. |
| 61 """ | 61 """ |
| 62 page_set = page_sets.ToughFiltersCasesPageSet | 62 page_set = page_sets.ToughFiltersCasesPageSet |
| 63 | 63 |
| 64 @classmethod | 64 @classmethod |
| 65 def Name(cls): | 65 def Name(cls): |
| 66 return 'smoothness.tough_filters_cases' | 66 return 'smoothness.tough_filters_cases' |
| 67 | 67 |
| 68 @classmethod |
| 69 def ShouldDisable(cls, possible_browser): # http://crbug.com/616520 |
| 70 return (cls.IsSvelte(possible_browser) and |
| 71 possible_browser.browser_type == 'reference') |
| 72 |
| 68 | 73 |
| 69 class SmoothnessToughPathRenderingCases(_Smoothness): | 74 class SmoothnessToughPathRenderingCases(_Smoothness): |
| 70 """Tests a selection of pages with SVG and 2D Canvas paths. | 75 """Tests a selection of pages with SVG and 2D Canvas paths. |
| 71 | 76 |
| 72 Measures frame rate and a variety of other statistics. """ | 77 Measures frame rate and a variety of other statistics. """ |
| 73 page_set = page_sets.ToughPathRenderingCasesPageSet | 78 page_set = page_sets.ToughPathRenderingCasesPageSet |
| 74 | 79 |
| 75 @classmethod | 80 @classmethod |
| 76 def Name(cls): | 81 def Name(cls): |
| 77 return 'smoothness.tough_path_rendering_cases' | 82 return 'smoothness.tough_path_rendering_cases' |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 """Measures rendering statistics while scrolling advertisements.""" | 494 """Measures rendering statistics while scrolling advertisements.""" |
| 490 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 495 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 491 | 496 |
| 492 @classmethod | 497 @classmethod |
| 493 def Name(cls): | 498 def Name(cls): |
| 494 return 'smoothness.tough_webgl_ad_cases' | 499 return 'smoothness.tough_webgl_ad_cases' |
| 495 | 500 |
| 496 @classmethod | 501 @classmethod |
| 497 def ShouldDisable(cls, possible_browser): | 502 def ShouldDisable(cls, possible_browser): |
| 498 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 503 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |