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

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

Issue 2397583003: Disabling BlinkPerfDom on reference build for win and linux (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 test = _BlinkPerfMeasurement 204 test = _BlinkPerfMeasurement
205 205
206 @classmethod 206 @classmethod
207 def Name(cls): 207 def Name(cls):
208 return 'blink_perf.dom' 208 return 'blink_perf.dom'
209 209
210 def CreateStorySet(self, options): 210 def CreateStorySet(self, options):
211 path = os.path.join(BLINK_PERF_BASE_DIR, 'DOM') 211 path = os.path.join(BLINK_PERF_BASE_DIR, 'DOM')
212 return CreateStorySetFromPath(path, SKIPPED_FILE) 212 return CreateStorySetFromPath(path, SKIPPED_FILE)
213 213
214 @classmethod
215 def ShouldDisable(cls, possible_browser):
216 # http://crbug.com/652724
217 if (possible_browser.browser_type == 'reference' and
218 possible_browser.platform.GetOSName() in ['win', 'linux']):
fmeawad 2016/10/05 17:00:00 I think you can also use decorators: win-reference
219 return True
220
221 return False
222
214 223
215 @benchmark.Disabled('win') # http://crbug.com/588819 224 @benchmark.Disabled('win') # http://crbug.com/588819
216 class BlinkPerfEvents(perf_benchmark.PerfBenchmark): 225 class BlinkPerfEvents(perf_benchmark.PerfBenchmark):
217 tag = 'events' 226 tag = 'events'
218 test = _BlinkPerfMeasurement 227 test = _BlinkPerfMeasurement
219 228
220 @classmethod 229 @classmethod
221 def Name(cls): 230 def Name(cls):
222 return 'blink_perf.events' 231 return 'blink_perf.events'
223 232
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 345
337 def CreateStorySet(self, options): 346 def CreateStorySet(self, options):
338 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket') 347 path = os.path.join(BLINK_PERF_BASE_DIR, 'Pywebsocket')
339 return CreateStorySetFromPath( 348 return CreateStorySetFromPath(
340 path, SKIPPED_FILE, 349 path, SKIPPED_FILE,
341 shared_page_state_class=_SharedPywebsocketPageState) 350 shared_page_state_class=_SharedPywebsocketPageState)
342 351
343 @classmethod 352 @classmethod
344 def ShouldDisable(cls, possible_browser): 353 def ShouldDisable(cls, possible_browser):
345 return cls.IsSvelte(possible_browser) # http://crbug.com/551950 354 return cls.IsSvelte(possible_browser) # http://crbug.com/551950
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698