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

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

Issue 2840213003: Move blink_perf.xml_http_request benchmark to tools/perf/contrib/ directory (Closed)
Patch Set: Simplify benchmark_finders code Created 3 years, 7 months 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
« no previous file with comments | « tools/perf/benchmark.csv ('k') | tools/perf/contrib/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 296 @classmethod
297 def ShouldDisable(cls, possible_browser): # http://crbug.com/702319 297 def ShouldDisable(cls, possible_browser): # http://crbug.com/702319
298 return possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X' 298 return possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X'
299 299
300 300
301 # This benchmark is for local testing, doesn't need to run on bots.
302 @benchmark.Disabled('all')
303 @benchmark.Owner(emails=['tyoshino@chromium.org', 'hiroshige@chromium.org'])
304 class BlinkPerfXMLHttpRequest(_BlinkPerfBenchmark):
305 tag = 'xml_http_request'
306 subdir = 'XMLHttpRequest'
307
308 301
309 # Disabled on Windows and ChromeOS due to https://crbug.com/521887 302 # Disabled on Windows and ChromeOS due to https://crbug.com/521887
310 #@benchmark.Disabled('win', 'chromeos') 303 #@benchmark.Disabled('win', 'chromeos')
311 # Disabling on remaining platforms due to heavy flake https://crbug.com/646938 304 # Disabling on remaining platforms due to heavy flake https://crbug.com/646938
312 @benchmark.Disabled('all') 305 @benchmark.Disabled('all')
313 @benchmark.Owner(emails=['tyoshino@chromium.org', 'yhirano@chromium.org']) 306 @benchmark.Owner(emails=['tyoshino@chromium.org', 'yhirano@chromium.org'])
314 class BlinkPerfPywebsocket(_BlinkPerfBenchmark): 307 class BlinkPerfPywebsocket(_BlinkPerfBenchmark):
315 """The blink_perf.pywebsocket tests measure turn-around-time of 10MB 308 """The blink_perf.pywebsocket tests measure turn-around-time of 10MB
316 send/receive for XHR, Fetch API and WebSocket. We might ignore < 10% 309 send/receive for XHR, Fetch API and WebSocket. We might ignore < 10%
317 regressions, because the tests are noisy and such regressions are 310 regressions, because the tests are noisy and such regressions are
318 often unreproducible (https://crbug.com/549017). 311 often unreproducible (https://crbug.com/549017).
319 """ 312 """
320 tag = 'pywebsocket' 313 tag = 'pywebsocket'
321 subdir = 'Pywebsocket' 314 subdir = 'Pywebsocket'
322 315
323 def CreateStorySet(self, options): 316 def CreateStorySet(self, options):
324 path = os.path.join(BLINK_PERF_BASE_DIR, self.subdir) 317 path = os.path.join(BLINK_PERF_BASE_DIR, self.subdir)
325 return CreateStorySetFromPath( 318 return CreateStorySetFromPath(
326 path, SKIPPED_FILE, 319 path, SKIPPED_FILE,
327 shared_page_state_class=_SharedPywebsocketPageState) 320 shared_page_state_class=_SharedPywebsocketPageState)
328 321
329 @classmethod 322 @classmethod
330 def ShouldDisable(cls, possible_browser): 323 def ShouldDisable(cls, possible_browser):
331 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 324 return cls.IsSvelte(possible_browser) # http://crbug.com/551950
OLDNEW
« no previous file with comments | « tools/perf/benchmark.csv ('k') | tools/perf/contrib/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698