| 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 perf_benchmark | 7 from core import perf_benchmark |
| 8 | 8 |
| 9 from telemetry import benchmark | 9 from telemetry import benchmark |
| 10 from telemetry.core import util | 10 from telemetry.core import util |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 path, SKIPPED_FILE, | 198 path, SKIPPED_FILE, |
| 199 shared_page_state_class=( | 199 shared_page_state_class=( |
| 200 webgl_supported_shared_state.WebGLSupportedSharedState)) | 200 webgl_supported_shared_state.WebGLSupportedSharedState)) |
| 201 # WebGLSupportedSharedState requires the skipped_gpus property to | 201 # WebGLSupportedSharedState requires the skipped_gpus property to |
| 202 # be set on each page. | 202 # be set on each page. |
| 203 for page in story_set: | 203 for page in story_set: |
| 204 page.skipped_gpus = [] | 204 page.skipped_gpus = [] |
| 205 return story_set | 205 return story_set |
| 206 | 206 |
| 207 | 207 |
| 208 @benchmark.Disabled # http://crbug.com/532093 | |
| 209 class BlinkPerfDOM(perf_benchmark.PerfBenchmark): | 208 class BlinkPerfDOM(perf_benchmark.PerfBenchmark): |
| 210 tag = 'dom' | 209 tag = 'dom' |
| 211 test = _BlinkPerfMeasurement | 210 test = _BlinkPerfMeasurement |
| 212 | 211 |
| 213 @classmethod | 212 @classmethod |
| 214 def Name(cls): | 213 def Name(cls): |
| 215 return 'blink_perf.dom' | 214 return 'blink_perf.dom' |
| 216 | 215 |
| 217 def CreateStorySet(self, options): | 216 def CreateStorySet(self, options): |
| 218 path = os.path.join(BLINK_PERF_BASE_DIR, 'DOM') | 217 path = os.path.join(BLINK_PERF_BASE_DIR, 'DOM') |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 test = _BlinkPerfPywebsocketMeasurement | 329 test = _BlinkPerfPywebsocketMeasurement |
| 331 | 330 |
| 332 @classmethod | 331 @classmethod |
| 333 def Name(cls): | 332 def Name(cls): |
| 334 return 'blink_perf.pywebsocket' | 333 return 'blink_perf.pywebsocket' |
| 335 | 334 |
| 336 def CreateStorySet(self, options): | 335 def CreateStorySet(self, options): |
| 337 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') | 336 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') |
| 338 return CreateStorySetFromPath(path, SKIPPED_FILE, | 337 return CreateStorySetFromPath(path, SKIPPED_FILE, |
| 339 shared_page_state_class=_SharedPywebsocketPageState) | 338 shared_page_state_class=_SharedPywebsocketPageState) |
| OLD | NEW |