Chromium Code Reviews| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 164 | 164 |
| 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('reference') # http://crbug.com/576779 | 174 @benchmark.Disabled('android-webview', |
| 175 'reference') # http://crbug.com/576779 | |
|
sullivan
2016/03/09 02:03:00
Please add a comment referencing bug 593200
| |
| 175 class BlinkPerfCanvas(perf_benchmark.PerfBenchmark): | 176 class BlinkPerfCanvas(perf_benchmark.PerfBenchmark): |
| 176 tag = 'canvas' | 177 tag = 'canvas' |
| 177 test = _BlinkPerfMeasurement | 178 test = _BlinkPerfMeasurement |
| 178 | 179 |
| 179 @classmethod | 180 @classmethod |
| 180 def Name(cls): | 181 def Name(cls): |
| 181 return 'blink_perf.canvas' | 182 return 'blink_perf.canvas' |
| 182 | 183 |
| 183 def CreateStorySet(self, options): | 184 def CreateStorySet(self, options): |
| 184 path = os.path.join(BLINK_PERF_BASE_DIR, 'Canvas') | 185 path = os.path.join(BLINK_PERF_BASE_DIR, 'Canvas') |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 327 | 328 |
| 328 def CreateStorySet(self, options): | 329 def CreateStorySet(self, options): |
| 329 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') | 330 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') |
| 330 return CreateStorySetFromPath( | 331 return CreateStorySetFromPath( |
| 331 path, SKIPPED_FILE, | 332 path, SKIPPED_FILE, |
| 332 shared_page_state_class=_SharedPywebsocketPageState) | 333 shared_page_state_class=_SharedPywebsocketPageState) |
| 333 | 334 |
| 334 @classmethod | 335 @classmethod |
| 335 def ShouldDisable(cls, possible_browser): | 336 def ShouldDisable(cls, possible_browser): |
| 336 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 | 337 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 |
| OLD | NEW |