| 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 | |
| 202 class BlinkPerfDOM(perf_benchmark.PerfBenchmark): | 201 class BlinkPerfDOM(perf_benchmark.PerfBenchmark): |
| 203 tag = 'dom' | 202 tag = 'dom' |
| 204 test = _BlinkPerfMeasurement | 203 test = _BlinkPerfMeasurement |
| 205 | 204 |
| 206 @classmethod | 205 @classmethod |
| 207 def Name(cls): | 206 def Name(cls): |
| 208 return 'blink_perf.dom' | 207 return 'blink_perf.dom' |
| 209 | 208 |
| 210 def CreateStorySet(self, options): | 209 def CreateStorySet(self, options): |
| 211 path = os.path.join(BLINK_PERF_BASE_DIR, 'DOM') | 210 path = os.path.join(BLINK_PERF_BASE_DIR, 'DOM') |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 | 332 |
| 334 def CreateStorySet(self, options): | 333 def CreateStorySet(self, options): |
| 335 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') | 334 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') |
| 336 return CreateStorySetFromPath( | 335 return CreateStorySetFromPath( |
| 337 path, SKIPPED_FILE, | 336 path, SKIPPED_FILE, |
| 338 shared_page_state_class=_SharedPywebsocketPageState) | 337 shared_page_state_class=_SharedPywebsocketPageState) |
| 339 | 338 |
| 340 @classmethod | 339 @classmethod |
| 341 def ShouldDisable(cls, possible_browser): | 340 def ShouldDisable(cls, possible_browser): |
| 342 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 | 341 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 |
| OLD | NEW |