| 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 import os | 5 import os |
| 6 | 6 |
| 7 from core import path_util | 7 from core import path_util |
| 8 from core import perf_benchmark | 8 from core import perf_benchmark |
| 9 | 9 |
| 10 from telemetry import benchmark | 10 from telemetry import benchmark |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 @classmethod | 135 @classmethod |
| 136 def Name(cls): | 136 def Name(cls): |
| 137 return 'blink_perf.bindings' | 137 return 'blink_perf.bindings' |
| 138 | 138 |
| 139 def CreateStorySet(self, options): | 139 def CreateStorySet(self, options): |
| 140 path = os.path.join(BLINK_PERF_BASE_DIR, 'Bindings') | 140 path = os.path.join(BLINK_PERF_BASE_DIR, 'Bindings') |
| 141 return CreateStorySetFromPath(path, SKIPPED_FILE) | 141 return CreateStorySetFromPath(path, SKIPPED_FILE) |
| 142 | 142 |
| 143 @classmethod | 143 @classmethod |
| 144 def ShouldDisable(cls, possible_browser): | 144 def ShouldDisable(cls, possible_browser): |
| 145 return cls.IsSvelte(possible_browser) # http://crbug.com/563979 | 145 # http://crbug.com/563979 |
| 146 return (cls.IsSvelte(possible_browser) |
| 147 # http://crbug.com/653970 |
| 148 or (possible_browser.browser_type == 'reference' and |
| 149 possible_browser.platform.GetOSName() == 'android')) |
| 146 | 150 |
| 147 | 151 |
| 148 @benchmark.Enabled('content-shell') | 152 @benchmark.Enabled('content-shell') |
| 149 class BlinkPerfBlinkGC(perf_benchmark.PerfBenchmark): | 153 class BlinkPerfBlinkGC(perf_benchmark.PerfBenchmark): |
| 150 tag = 'blink_gc' | 154 tag = 'blink_gc' |
| 151 test = _BlinkPerfMeasurement | 155 test = _BlinkPerfMeasurement |
| 152 | 156 |
| 153 @classmethod | 157 @classmethod |
| 154 def Name(cls): | 158 def Name(cls): |
| 155 return 'blink_perf.blink_gc' | 159 return 'blink_perf.blink_gc' |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 | 340 |
| 337 def CreateStorySet(self, options): | 341 def CreateStorySet(self, options): |
| 338 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') | 342 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') |
| 339 return CreateStorySetFromPath( | 343 return CreateStorySetFromPath( |
| 340 path, SKIPPED_FILE, | 344 path, SKIPPED_FILE, |
| 341 shared_page_state_class=_SharedPywebsocketPageState) | 345 shared_page_state_class=_SharedPywebsocketPageState) |
| 342 | 346 |
| 343 @classmethod | 347 @classmethod |
| 344 def ShouldDisable(cls, possible_browser): | 348 def ShouldDisable(cls, possible_browser): |
| 345 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 | 349 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 |
| OLD | NEW |