| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 @classmethod | 165 @classmethod |
| 166 def Name(cls): | 166 def Name(cls): |
| 167 return 'blink_perf.css' | 167 return 'blink_perf.css' |
| 168 | 168 |
| 169 def CreateStorySet(self, options): | 169 def CreateStorySet(self, options): |
| 170 path = os.path.join(BLINK_PERF_BASE_DIR, 'CSS') | 170 path = os.path.join(BLINK_PERF_BASE_DIR, 'CSS') |
| 171 return CreateStorySetFromPath(path, SKIPPED_FILE) | 171 return CreateStorySetFromPath(path, SKIPPED_FILE) |
| 172 | 172 |
| 173 | 173 |
| 174 @benchmark.Disabled('android-webview', # http://crbug.com/593200 | 174 @benchmark.Disabled('android-webview', # http://crbug.com/593200 |
| 175 'android', # http://crbug.com/610384 |
| 175 'reference') # http://crbug.com/576779 | 176 'reference') # http://crbug.com/576779 |
| 176 class BlinkPerfCanvas(perf_benchmark.PerfBenchmark): | 177 class BlinkPerfCanvas(perf_benchmark.PerfBenchmark): |
| 177 tag = 'canvas' | 178 tag = 'canvas' |
| 178 test = _BlinkPerfMeasurement | 179 test = _BlinkPerfMeasurement |
| 179 | 180 |
| 180 @classmethod | 181 @classmethod |
| 181 def ShouldDisable(cls, possible_browser): | 182 def ShouldDisable(cls, possible_browser): |
| 182 return cls.IsSvelte(possible_browser) # http://crbug.com/593973. | 183 return cls.IsSvelte(possible_browser) # http://crbug.com/593973. |
| 183 | 184 |
| 184 @classmethod | 185 @classmethod |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 | 334 |
| 334 def CreateStorySet(self, options): | 335 def CreateStorySet(self, options): |
| 335 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') | 336 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') |
| 336 return CreateStorySetFromPath( | 337 return CreateStorySetFromPath( |
| 337 path, SKIPPED_FILE, | 338 path, SKIPPED_FILE, |
| 338 shared_page_state_class=_SharedPywebsocketPageState) | 339 shared_page_state_class=_SharedPywebsocketPageState) |
| 339 | 340 |
| 340 @classmethod | 341 @classmethod |
| 341 def ShouldDisable(cls, possible_browser): | 342 def ShouldDisable(cls, possible_browser): |
| 342 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 | 343 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 |
| OLD | NEW |