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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 @benchmark.Owner(emails=['yukishiino@chromium.org', | 296 @benchmark.Owner(emails=['yukishiino@chromium.org', |
297 'bashi@chromium.org', | 297 'bashi@chromium.org', |
298 'haraken@chromium.org']) | 298 'haraken@chromium.org']) |
299 class BlinkPerfBindings(_BlinkPerfBenchmark): | 299 class BlinkPerfBindings(_BlinkPerfBenchmark): |
300 tag = 'bindings' | 300 tag = 'bindings' |
301 subdir = 'Bindings' | 301 subdir = 'Bindings' |
302 | 302 |
303 @classmethod | 303 @classmethod |
304 def ShouldDisable(cls, possible_browser): | 304 def ShouldDisable(cls, possible_browser): |
305 # http://crbug.com/563979 | 305 # http://crbug.com/563979 |
306 return (cls.IsSvelte(possible_browser) | 306 return cls.IsSvelte(possible_browser) |
307 # http://crbug.com/653970 | |
308 or (possible_browser.browser_type == 'reference' and | |
309 possible_browser.platform.GetOSName() == 'android')) | |
310 | 307 |
311 | 308 |
312 @benchmark.Enabled('content-shell') | 309 @benchmark.Enabled('content-shell') |
313 class BlinkPerfBlinkGC(_BlinkPerfBenchmark): | 310 class BlinkPerfBlinkGC(_BlinkPerfBenchmark): |
314 tag = 'blink_gc' | 311 tag = 'blink_gc' |
315 subdir = 'BlinkGC' | 312 subdir = 'BlinkGC' |
316 | 313 |
317 | 314 |
318 @benchmark.Owner(emails=['rune@opera.com']) | 315 @benchmark.Owner(emails=['rune@opera.com']) |
319 class BlinkPerfCSS(_BlinkPerfBenchmark): | 316 class BlinkPerfCSS(_BlinkPerfBenchmark): |
320 tag = 'css' | 317 tag = 'css' |
321 subdir = 'CSS' | 318 subdir = 'CSS' |
322 | 319 |
323 | 320 |
324 @benchmark.Disabled('android', # http://crbug.com/685320 | 321 @benchmark.Disabled('android', # http://crbug.com/685320 |
325 'android-webview', # http://crbug.com/593200 | 322 'android-webview') # http://crbug.com/593200 |
326 'reference') # http://crbug.com/576779 | |
327 @benchmark.Owner(emails=['junov@chromium.org']) | 323 @benchmark.Owner(emails=['junov@chromium.org']) |
328 class BlinkPerfCanvas(_BlinkPerfBenchmark): | 324 class BlinkPerfCanvas(_BlinkPerfBenchmark): |
329 tag = 'canvas' | 325 tag = 'canvas' |
330 subdir = 'Canvas' | 326 subdir = 'Canvas' |
331 | 327 |
332 @classmethod | 328 @classmethod |
333 def ShouldDisable(cls, possible_browser): | 329 def ShouldDisable(cls, possible_browser): |
334 return cls.IsSvelte(possible_browser) # http://crbug.com/593973. | 330 return cls.IsSvelte(possible_browser) # http://crbug.com/593973. |
335 | 331 |
336 def CreateStorySet(self, options): | 332 def CreateStorySet(self, options): |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 | 398 |
403 | 399 |
404 @benchmark.Owner(emails=['hayato@chromium.org']) | 400 @benchmark.Owner(emails=['hayato@chromium.org']) |
405 class BlinkPerfShadowDOM(_BlinkPerfBenchmark): | 401 class BlinkPerfShadowDOM(_BlinkPerfBenchmark): |
406 tag = 'shadow_dom' | 402 tag = 'shadow_dom' |
407 subdir = 'ShadowDOM' | 403 subdir = 'ShadowDOM' |
408 | 404 |
409 @classmethod | 405 @classmethod |
410 def ShouldDisable(cls, possible_browser): # http://crbug.com/702319 | 406 def ShouldDisable(cls, possible_browser): # http://crbug.com/702319 |
411 return possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X' | 407 return possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X' |
OLD | NEW |