| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 218 @classmethod |
| 219 def ShouldDisable(cls, possible_browser): | 219 def ShouldDisable(cls, possible_browser): |
| 220 # http://crbug.com/652724 | 220 # http://crbug.com/652724 |
| 221 if (possible_browser.browser_type == 'reference' and | 221 if (possible_browser.browser_type == 'reference' and |
| 222 possible_browser.platform.GetOSName() in ['win', 'linux']): | 222 possible_browser.platform.GetOSName() in ['win', 'linux', 'mac']): |
| 223 return True | 223 return True |
| 224 | 224 |
| 225 return False | 225 return False |
| 226 | 226 |
| 227 | 227 |
| 228 @benchmark.Disabled('win') # http://crbug.com/588819 | 228 @benchmark.Disabled('win') # http://crbug.com/588819 |
| 229 class BlinkPerfEvents(perf_benchmark.PerfBenchmark): | 229 class BlinkPerfEvents(perf_benchmark.PerfBenchmark): |
| 230 tag = 'events' | 230 tag = 'events' |
| 231 test = _BlinkPerfMeasurement | 231 test = _BlinkPerfMeasurement |
| 232 | 232 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 | 349 |
| 350 def CreateStorySet(self, options): | 350 def CreateStorySet(self, options): |
| 351 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') | 351 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') |
| 352 return CreateStorySetFromPath( | 352 return CreateStorySetFromPath( |
| 353 path, SKIPPED_FILE, | 353 path, SKIPPED_FILE, |
| 354 shared_page_state_class=_SharedPywebsocketPageState) | 354 shared_page_state_class=_SharedPywebsocketPageState) |
| 355 | 355 |
| 356 @classmethod | 356 @classmethod |
| 357 def ShouldDisable(cls, possible_browser): | 357 def ShouldDisable(cls, possible_browser): |
| 358 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 | 358 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 |
| OLD | NEW |