| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 for page in story_set: | 186 for page in story_set: |
| 187 page.skipped_gpus = [] | 187 page.skipped_gpus = [] |
| 188 return story_set | 188 return story_set |
| 189 | 189 |
| 190 | 190 |
| 191 class BlinkPerfDOM(_BlinkPerfBenchmark): | 191 class BlinkPerfDOM(_BlinkPerfBenchmark): |
| 192 tag = 'dom' | 192 tag = 'dom' |
| 193 subdir = 'DOM' | 193 subdir = 'DOM' |
| 194 | 194 |
| 195 | 195 |
| 196 @benchmark.Disabled('win') # http://crbug.com/588819 | |
| 197 class BlinkPerfEvents(_BlinkPerfBenchmark): | 196 class BlinkPerfEvents(_BlinkPerfBenchmark): |
| 198 tag = 'events' | 197 tag = 'events' |
| 199 subdir = 'Events' | 198 subdir = 'Events' |
| 200 | 199 |
| 201 | 200 |
| 202 @benchmark.Disabled('win8') # http://crbug.com/462350 | 201 @benchmark.Disabled('win8') # http://crbug.com/462350 |
| 203 @benchmark.Disabled('win-reference') # http://crbug.com/642884 | 202 @benchmark.Disabled('win-reference') # http://crbug.com/642884 |
| 204 class BlinkPerfLayout(_BlinkPerfBenchmark): | 203 class BlinkPerfLayout(_BlinkPerfBenchmark): |
| 205 tag = 'layout' | 204 tag = 'layout' |
| 206 subdir = 'Layout' | 205 subdir = 'Layout' |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 | 256 |
| 258 def CreateStorySet(self, options): | 257 def CreateStorySet(self, options): |
| 259 path = os.path.join(BLINK_PERF_BASE_DIR, self.subdir) | 258 path = os.path.join(BLINK_PERF_BASE_DIR, self.subdir) |
| 260 return CreateStorySetFromPath( | 259 return CreateStorySetFromPath( |
| 261 path, SKIPPED_FILE, | 260 path, SKIPPED_FILE, |
| 262 shared_page_state_class=_SharedPywebsocketPageState) | 261 shared_page_state_class=_SharedPywebsocketPageState) |
| 263 | 262 |
| 264 @classmethod | 263 @classmethod |
| 265 def ShouldDisable(cls, possible_browser): | 264 def ShouldDisable(cls, possible_browser): |
| 266 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 | 265 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 |
| OLD | NEW |