| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 test = _BlinkPerfMeasurement | 208 test = _BlinkPerfMeasurement |
| 209 | 209 |
| 210 @classmethod | 210 @classmethod |
| 211 def Name(cls): | 211 def Name(cls): |
| 212 return 'blink_perf.dom' | 212 return 'blink_perf.dom' |
| 213 | 213 |
| 214 def CreateStorySet(self, options): | 214 def CreateStorySet(self, options): |
| 215 path = os.path.join(BLINK_PERF_BASE_DIR, 'DOM') | 215 path = os.path.join(BLINK_PERF_BASE_DIR, 'DOM') |
| 216 return CreateStorySetFromPath(path, SKIPPED_FILE) | 216 return CreateStorySetFromPath(path, SKIPPED_FILE) |
| 217 | 217 |
| 218 @classmethod | |
| 219 def ShouldDisable(cls, possible_browser): | |
| 220 # http://crbug.com/652724 | |
| 221 if (possible_browser.browser_type == 'reference' and | |
| 222 possible_browser.platform.GetOSName() in ['win', 'linux']): | |
| 223 return True | |
| 224 | |
| 225 return False | |
| 226 | |
| 227 | 218 |
| 228 @benchmark.Disabled('win') # http://crbug.com/588819 | 219 @benchmark.Disabled('win') # http://crbug.com/588819 |
| 229 class BlinkPerfEvents(perf_benchmark.PerfBenchmark): | 220 class BlinkPerfEvents(perf_benchmark.PerfBenchmark): |
| 230 tag = 'events' | 221 tag = 'events' |
| 231 test = _BlinkPerfMeasurement | 222 test = _BlinkPerfMeasurement |
| 232 | 223 |
| 233 @classmethod | 224 @classmethod |
| 234 def Name(cls): | 225 def Name(cls): |
| 235 return 'blink_perf.events' | 226 return 'blink_perf.events' |
| 236 | 227 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 | 340 |
| 350 def CreateStorySet(self, options): | 341 def CreateStorySet(self, options): |
| 351 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') | 342 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') |
| 352 return CreateStorySetFromPath( | 343 return CreateStorySetFromPath( |
| 353 path, SKIPPED_FILE, | 344 path, SKIPPED_FILE, |
| 354 shared_page_state_class=_SharedPywebsocketPageState) | 345 shared_page_state_class=_SharedPywebsocketPageState) |
| 355 | 346 |
| 356 @classmethod | 347 @classmethod |
| 357 def ShouldDisable(cls, possible_browser): | 348 def ShouldDisable(cls, possible_browser): |
| 358 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 | 349 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 |
| OLD | NEW |