| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 test = _BlinkPerfMeasurement | 147 test = _BlinkPerfMeasurement |
| 148 | 148 |
| 149 @classmethod | 149 @classmethod |
| 150 def Name(cls): | 150 def Name(cls): |
| 151 return 'blink_perf.bindings' | 151 return 'blink_perf.bindings' |
| 152 | 152 |
| 153 def CreateStorySet(self, options): | 153 def CreateStorySet(self, options): |
| 154 path = os.path.join(BLINK_PERF_BASE_DIR, 'Bindings') | 154 path = os.path.join(BLINK_PERF_BASE_DIR, 'Bindings') |
| 155 return CreateStorySetFromPath(path, SKIPPED_FILE) | 155 return CreateStorySetFromPath(path, SKIPPED_FILE) |
| 156 | 156 |
| 157 @classmethod |
| 158 def ShouldDisable(cls, possible_browser): |
| 159 return cls.IsSvelte(possible_browser) # http://crbug.com/563979 |
| 160 |
| 157 | 161 |
| 158 @benchmark.Enabled('content-shell') | 162 @benchmark.Enabled('content-shell') |
| 159 class BlinkPerfBlinkGC(perf_benchmark.PerfBenchmark): | 163 class BlinkPerfBlinkGC(perf_benchmark.PerfBenchmark): |
| 160 tag = 'blink_gc' | 164 tag = 'blink_gc' |
| 161 test = _BlinkPerfMeasurement | 165 test = _BlinkPerfMeasurement |
| 162 | 166 |
| 163 @classmethod | 167 @classmethod |
| 164 def Name(cls): | 168 def Name(cls): |
| 165 return 'blink_perf.blink_gc' | 169 return 'blink_perf.blink_gc' |
| 166 | 170 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 return 'blink_perf.pywebsocket' | 342 return 'blink_perf.pywebsocket' |
| 339 | 343 |
| 340 def CreateStorySet(self, options): | 344 def CreateStorySet(self, options): |
| 341 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') | 345 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') |
| 342 return CreateStorySetFromPath(path, SKIPPED_FILE, | 346 return CreateStorySetFromPath(path, SKIPPED_FILE, |
| 343 shared_page_state_class=_SharedPywebsocketPageState) | 347 shared_page_state_class=_SharedPywebsocketPageState) |
| 344 | 348 |
| 345 @classmethod | 349 @classmethod |
| 346 def ShouldDisable(cls, possible_browser): | 350 def ShouldDisable(cls, possible_browser): |
| 347 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 | 351 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 |
| OLD | NEW |