| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 Measures frame rate and a variety of other statistics. """ | 93 Measures frame rate and a variety of other statistics. """ |
| 94 page_set = page_sets.ToughPathRenderingCasesPageSet | 94 page_set = page_sets.ToughPathRenderingCasesPageSet |
| 95 | 95 |
| 96 @classmethod | 96 @classmethod |
| 97 def Name(cls): | 97 def Name(cls): |
| 98 return 'smoothness.tough_path_rendering_cases' | 98 return 'smoothness.tough_path_rendering_cases' |
| 99 | 99 |
| 100 | 100 |
| 101 @benchmark.Disabled('android') # crbug.com/526901 | 101 @benchmark.Disabled('android') # crbug.com/526901 |
| 102 @benchmark.Disabled('linux') # crbug.com/715607 |
| 102 @benchmark.Owner(emails=['junov@chromium.org']) | 103 @benchmark.Owner(emails=['junov@chromium.org']) |
| 103 class SmoothnessToughCanvasCases(_Smoothness): | 104 class SmoothnessToughCanvasCases(_Smoothness): |
| 104 """Measures frame rate and a variety of other statistics. | 105 """Measures frame rate and a variety of other statistics. |
| 105 | 106 |
| 106 Uses a selection of pages making use of the 2D Canvas API. | 107 Uses a selection of pages making use of the 2D Canvas API. |
| 107 """ | 108 """ |
| 108 page_set = page_sets.ToughCanvasCasesPageSet | 109 page_set = page_sets.ToughCanvasCasesPageSet |
| 109 | 110 |
| 110 def SetExtraBrowserOptions(self, options): | 111 def SetExtraBrowserOptions(self, options): |
| 111 options.AppendExtraBrowserArgs('--enable-experimental-canvas-features') | 112 options.AppendExtraBrowserArgs('--enable-experimental-canvas-features') |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 """Measures rendering statistics while scrolling advertisements.""" | 536 """Measures rendering statistics while scrolling advertisements.""" |
| 536 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 537 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 537 | 538 |
| 538 @classmethod | 539 @classmethod |
| 539 def Name(cls): | 540 def Name(cls): |
| 540 return 'smoothness.tough_webgl_ad_cases' | 541 return 'smoothness.tough_webgl_ad_cases' |
| 541 | 542 |
| 542 @classmethod | 543 @classmethod |
| 543 def ShouldDisable(cls, possible_browser): | 544 def ShouldDisable(cls, possible_browser): |
| 544 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 545 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |