Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Side by Side Diff: tools/perf/benchmarks/blink_perf.py

Issue 1428133005: [Telemetry] Allows concatenating multiple Disabled & Enabled decorators (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Dave's comment Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 @classmethod 301 @classmethod
302 def Name(cls): 302 def Name(cls):
303 return 'blink_perf.shadow_dom' 303 return 'blink_perf.shadow_dom'
304 304
305 def CreateStorySet(self, options): 305 def CreateStorySet(self, options):
306 path = os.path.join(BLINK_PERF_BASE_DIR, 'ShadowDOM') 306 path = os.path.join(BLINK_PERF_BASE_DIR, 'ShadowDOM')
307 return CreateStorySetFromPath(path, SKIPPED_FILE) 307 return CreateStorySetFromPath(path, SKIPPED_FILE)
308 308
309 309
310 # This benchmark is for local testing, doesn't need to run on bots. 310 # This benchmark is for local testing, doesn't need to run on bots.
311 @benchmark.Disabled() 311 @benchmark.Disabled('all')
312 class BlinkPerfXMLHttpRequest(perf_benchmark.PerfBenchmark): 312 class BlinkPerfXMLHttpRequest(perf_benchmark.PerfBenchmark):
313 tag = 'xml_http_request' 313 tag = 'xml_http_request'
314 test = _BlinkPerfMeasurement 314 test = _BlinkPerfMeasurement
315 315
316 @classmethod 316 @classmethod
317 def Name(cls): 317 def Name(cls):
318 return 'blink_perf.xml_http_request' 318 return 'blink_perf.xml_http_request'
319 319
320 def CreateStorySet(self, options): 320 def CreateStorySet(self, options):
321 path = os.path.join(BLINK_PERF_BASE_DIR, 'XMLHttpRequest') 321 path = os.path.join(BLINK_PERF_BASE_DIR, 'XMLHttpRequest')
322 return CreateStorySetFromPath(path, SKIPPED_FILE) 322 return CreateStorySetFromPath(path, SKIPPED_FILE)
323 323
324 324
325 # Disabled on Windows and ChromeOS due to https://crbug.com/521887 325 # Disabled on Windows and ChromeOS due to https://crbug.com/521887
326 # Disabled on reference builds due to https://crbug.com/530374 326 # Disabled on reference builds due to https://crbug.com/530374
327 @benchmark.Disabled('win', 'chromeos', 'reference') 327 @benchmark.Disabled('win', 'chromeos', 'reference')
328 class BlinkPerfPywebsocket(perf_benchmark.PerfBenchmark): 328 class BlinkPerfPywebsocket(perf_benchmark.PerfBenchmark):
329 tag = 'pywebsocket' 329 tag = 'pywebsocket'
330 test = _BlinkPerfPywebsocketMeasurement 330 test = _BlinkPerfPywebsocketMeasurement
331 331
332 @classmethod 332 @classmethod
333 def Name(cls): 333 def Name(cls):
334 return 'blink_perf.pywebsocket' 334 return 'blink_perf.pywebsocket'
335 335
336 def CreateStorySet(self, options): 336 def CreateStorySet(self, options):
337 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') 337 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket')
338 return CreateStorySetFromPath(path, SKIPPED_FILE, 338 return CreateStorySetFromPath(path, SKIPPED_FILE,
339 shared_page_state_class=_SharedPywebsocketPageState) 339 shared_page_state_class=_SharedPywebsocketPageState)
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/benchmark_smoke_unittest.py ('k') | tools/perf/benchmarks/chrome_signin_startup.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698