| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 class BlinkPerfSVG(_BlinkPerfBenchmark): | 286 class BlinkPerfSVG(_BlinkPerfBenchmark): |
| 287 tag = 'svg' | 287 tag = 'svg' |
| 288 subdir = 'SVG' | 288 subdir = 'SVG' |
| 289 | 289 |
| 290 | 290 |
| 291 @benchmark.Owner(emails=['hayato@chromium.org']) | 291 @benchmark.Owner(emails=['hayato@chromium.org']) |
| 292 class BlinkPerfShadowDOM(_BlinkPerfBenchmark): | 292 class BlinkPerfShadowDOM(_BlinkPerfBenchmark): |
| 293 tag = 'shadow_dom' | 293 tag = 'shadow_dom' |
| 294 subdir = 'ShadowDOM' | 294 subdir = 'ShadowDOM' |
| 295 | 295 |
| 296 @classmethod |
| 297 def ShouldDisable(cls, possible_browser): # http://crbug.com/702319 |
| 298 return possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X' |
| 299 |
| 296 | 300 |
| 297 # This benchmark is for local testing, doesn't need to run on bots. | 301 # This benchmark is for local testing, doesn't need to run on bots. |
| 298 @benchmark.Disabled('all') | 302 @benchmark.Disabled('all') |
| 299 @benchmark.Owner(emails=['tyoshino@chromium.org', 'hiroshige@chromium.org']) | 303 @benchmark.Owner(emails=['tyoshino@chromium.org', 'hiroshige@chromium.org']) |
| 300 class BlinkPerfXMLHttpRequest(_BlinkPerfBenchmark): | 304 class BlinkPerfXMLHttpRequest(_BlinkPerfBenchmark): |
| 301 tag = 'xml_http_request' | 305 tag = 'xml_http_request' |
| 302 subdir = 'XMLHttpRequest' | 306 subdir = 'XMLHttpRequest' |
| 303 | 307 |
| 304 | 308 |
| 305 # Disabled on Windows and ChromeOS due to https://crbug.com/521887 | 309 # Disabled on Windows and ChromeOS due to https://crbug.com/521887 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 318 | 322 |
| 319 def CreateStorySet(self, options): | 323 def CreateStorySet(self, options): |
| 320 path = os.path.join(BLINK_PERF_BASE_DIR, self.subdir) | 324 path = os.path.join(BLINK_PERF_BASE_DIR, self.subdir) |
| 321 return CreateStorySetFromPath( | 325 return CreateStorySetFromPath( |
| 322 path, SKIPPED_FILE, | 326 path, SKIPPED_FILE, |
| 323 shared_page_state_class=_SharedPywebsocketPageState) | 327 shared_page_state_class=_SharedPywebsocketPageState) |
| 324 | 328 |
| 325 @classmethod | 329 @classmethod |
| 326 def ShouldDisable(cls, possible_browser): | 330 def ShouldDisable(cls, possible_browser): |
| 327 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 | 331 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 |
| OLD | NEW |