| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 path, SKIPPED_FILE, | 191 path, SKIPPED_FILE, |
| 192 shared_page_state_class=( | 192 shared_page_state_class=( |
| 193 webgl_supported_shared_state.WebGLSupportedSharedState)) | 193 webgl_supported_shared_state.WebGLSupportedSharedState)) |
| 194 # WebGLSupportedSharedState requires the skipped_gpus property to | 194 # WebGLSupportedSharedState requires the skipped_gpus property to |
| 195 # be set on each page. | 195 # be set on each page. |
| 196 for page in story_set: | 196 for page in story_set: |
| 197 page.skipped_gpus = [] | 197 page.skipped_gpus = [] |
| 198 return story_set | 198 return story_set |
| 199 | 199 |
| 200 | 200 |
| 201 @benchmark.Disabled('win', 'mac', 'linux') # http://crbug.com/601666 |
| 201 class BlinkPerfDOM(perf_benchmark.PerfBenchmark): | 202 class BlinkPerfDOM(perf_benchmark.PerfBenchmark): |
| 202 tag = 'dom' | 203 tag = 'dom' |
| 203 test = _BlinkPerfMeasurement | 204 test = _BlinkPerfMeasurement |
| 204 | 205 |
| 205 @classmethod | 206 @classmethod |
| 206 def Name(cls): | 207 def Name(cls): |
| 207 return 'blink_perf.dom' | 208 return 'blink_perf.dom' |
| 208 | 209 |
| 209 def CreateStorySet(self, options): | 210 def CreateStorySet(self, options): |
| 210 path = os.path.join(BLINK_PERF_BASE_DIR, 'DOM') | 211 path = os.path.join(BLINK_PERF_BASE_DIR, 'DOM') |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 | 333 |
| 333 def CreateStorySet(self, options): | 334 def CreateStorySet(self, options): |
| 334 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') | 335 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') |
| 335 return CreateStorySetFromPath( | 336 return CreateStorySetFromPath( |
| 336 path, SKIPPED_FILE, | 337 path, SKIPPED_FILE, |
| 337 shared_page_state_class=_SharedPywebsocketPageState) | 338 shared_page_state_class=_SharedPywebsocketPageState) |
| 338 | 339 |
| 339 @classmethod | 340 @classmethod |
| 340 def ShouldDisable(cls, possible_browser): | 341 def ShouldDisable(cls, possible_browser): |
| 341 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 | 342 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 |
| OLD | NEW |