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

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

Issue 2553993002: binding: Re-enables blink_perf.bindings on all platforms. (Closed)
Patch Set: Reduced the nest level according to https://crrev.com/2517813002 Created 4 years 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 | « third_party/WebKit/PerformanceTests/Bindings/serialize-nested-array.html ('k') | no next file » | 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 class _SharedPywebsocketPageState(shared_page_state.SharedPageState): 145 class _SharedPywebsocketPageState(shared_page_state.SharedPageState):
146 """Runs a pywebsocket server.""" 146 """Runs a pywebsocket server."""
147 147
148 def __init__(self, test, finder_options, user_story_set): 148 def __init__(self, test, finder_options, user_story_set):
149 super(_SharedPywebsocketPageState, self).__init__( 149 super(_SharedPywebsocketPageState, self).__init__(
150 test, finder_options, user_story_set) 150 test, finder_options, user_story_set)
151 self.platform.StartLocalServer(pywebsocket_server.PywebsocketServer()) 151 self.platform.StartLocalServer(pywebsocket_server.PywebsocketServer())
152 152
153 153
154 @benchmark.Disabled('all') # http://crbug.com/670069
155 class BlinkPerfBindings(_BlinkPerfBenchmark): 154 class BlinkPerfBindings(_BlinkPerfBenchmark):
156 tag = 'bindings' 155 tag = 'bindings'
157 subdir = 'Bindings' 156 subdir = 'Bindings'
158 157
159 @classmethod 158 @classmethod
160 def ShouldDisable(cls, possible_browser): 159 def ShouldDisable(cls, possible_browser):
161 # http://crbug.com/563979 160 # http://crbug.com/563979
162 return (cls.IsSvelte(possible_browser) 161 return (cls.IsSvelte(possible_browser)
163 # http://crbug.com/653970 162 # http://crbug.com/653970
164 or (possible_browser.browser_type == 'reference' and 163 or (possible_browser.browser_type == 'reference' and
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 277
279 def CreateStorySet(self, options): 278 def CreateStorySet(self, options):
280 path = os.path.join(BLINK_PERF_BASE_DIR, self.subdir) 279 path = os.path.join(BLINK_PERF_BASE_DIR, self.subdir)
281 return CreateStorySetFromPath( 280 return CreateStorySetFromPath(
282 path, SKIPPED_FILE, 281 path, SKIPPED_FILE,
283 shared_page_state_class=_SharedPywebsocketPageState) 282 shared_page_state_class=_SharedPywebsocketPageState)
284 283
285 @classmethod 284 @classmethod
286 def ShouldDisable(cls, possible_browser): 285 def ShouldDisable(cls, possible_browser):
287 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 286 return cls.IsSvelte(possible_browser) # http://crbug.com/551950
OLDNEW
« no previous file with comments | « third_party/WebKit/PerformanceTests/Bindings/serialize-nested-array.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698