| 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 story_set = CreateStorySetFromPath( | 322 story_set = CreateStorySetFromPath( |
| 323 path, SKIPPED_FILE, | 323 path, SKIPPED_FILE, |
| 324 shared_page_state_class=( | 324 shared_page_state_class=( |
| 325 webgl_supported_shared_state.WebGLSupportedSharedState)) | 325 webgl_supported_shared_state.WebGLSupportedSharedState)) |
| 326 # WebGLSupportedSharedState requires the skipped_gpus property to | 326 # WebGLSupportedSharedState requires the skipped_gpus property to |
| 327 # be set on each page. | 327 # be set on each page. |
| 328 for page in story_set: | 328 for page in story_set: |
| 329 page.skipped_gpus = [] | 329 page.skipped_gpus = [] |
| 330 return story_set | 330 return story_set |
| 331 | 331 |
| 332 def SetExtraBrowserOptions(self, options): |
| 333 options.AppendExtraBrowserArgs([ |
| 334 '--enable-color-correct-rendering', |
| 335 ]) |
| 332 | 336 |
| 333 @benchmark.Owner(emails=['yukishiino@chromium.org', | 337 @benchmark.Owner(emails=['yukishiino@chromium.org', |
| 334 'bashi@chromium.org', | 338 'bashi@chromium.org', |
| 335 'haraken@chromium.org']) | 339 'haraken@chromium.org']) |
| 336 class BlinkPerfDOM(_BlinkPerfBenchmark): | 340 class BlinkPerfDOM(_BlinkPerfBenchmark): |
| 337 tag = 'dom' | 341 tag = 'dom' |
| 338 subdir = 'DOM' | 342 subdir = 'DOM' |
| 339 | 343 |
| 340 | 344 |
| 341 @benchmark.Owner(emails=['hayato@chromium.org']) | 345 @benchmark.Owner(emails=['hayato@chromium.org']) |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 | 387 |
| 384 @benchmark.Owner(emails=['hayato@chromium.org']) | 388 @benchmark.Owner(emails=['hayato@chromium.org']) |
| 385 class BlinkPerfShadowDOM(_BlinkPerfBenchmark): | 389 class BlinkPerfShadowDOM(_BlinkPerfBenchmark): |
| 386 tag = 'shadow_dom' | 390 tag = 'shadow_dom' |
| 387 subdir = 'ShadowDOM' | 391 subdir = 'ShadowDOM' |
| 388 | 392 |
| 389 @classmethod | 393 @classmethod |
| 390 def ShouldDisable(cls, possible_browser): # http://crbug.com/702319 | 394 def ShouldDisable(cls, possible_browser): # http://crbug.com/702319 |
| 391 return possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X' | 395 return possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X' |
| 392 | 396 |
| OLD | NEW |