| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 def SetExtraBrowserOptions(self, options): | 88 def SetExtraBrowserOptions(self, options): |
| 89 options.AppendExtraBrowserArgs('--enable-experimental-canvas-features') | 89 options.AppendExtraBrowserArgs('--enable-experimental-canvas-features') |
| 90 | 90 |
| 91 @classmethod | 91 @classmethod |
| 92 def Name(cls): | 92 def Name(cls): |
| 93 return 'smoothness.tough_canvas_cases' | 93 return 'smoothness.tough_canvas_cases' |
| 94 | 94 |
| 95 | 95 |
| 96 @benchmark.Disabled('android') # crbug.com/373812 | 96 @benchmark.Disabled('android') # crbug.com/373812 |
| 97 @benchmark.Disabled('win-reference') # crbug.com/612810 |
| 97 class SmoothnessToughWebGLCases(_Smoothness): | 98 class SmoothnessToughWebGLCases(_Smoothness): |
| 98 page_set = page_sets.ToughWebglCasesPageSet | 99 page_set = page_sets.ToughWebglCasesPageSet |
| 99 | 100 |
| 100 @classmethod | 101 @classmethod |
| 101 def Name(cls): | 102 def Name(cls): |
| 102 return 'smoothness.tough_webgl_cases' | 103 return 'smoothness.tough_webgl_cases' |
| 103 | 104 |
| 104 | 105 |
| 105 @benchmark.Enabled('android') | 106 @benchmark.Enabled('android') |
| 106 class SmoothnessMaps(perf_benchmark.PerfBenchmark): | 107 class SmoothnessMaps(perf_benchmark.PerfBenchmark): |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 """Measures rendering statistics while scrolling advertisements.""" | 550 """Measures rendering statistics while scrolling advertisements.""" |
| 550 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 551 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 551 | 552 |
| 552 @classmethod | 553 @classmethod |
| 553 def Name(cls): | 554 def Name(cls): |
| 554 return 'smoothness.tough_webgl_ad_cases' | 555 return 'smoothness.tough_webgl_ad_cases' |
| 555 | 556 |
| 556 @classmethod | 557 @classmethod |
| 557 def ShouldDisable(cls, possible_browser): | 558 def ShouldDisable(cls, possible_browser): |
| 558 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 559 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |