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

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

Issue 1100763002: Inject CanAddURLToHistory into TopSitesImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs
Patch Set: Fix error introduced during rebase Created 5 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/metrics/histograms/histograms.xml ('k') | tools/perf/benchmarks/service_worker.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 telemetry import benchmark 7 from telemetry import benchmark
8 from telemetry.core import util 8 from telemetry.core import util
9 from telemetry import page as page_module 9 from telemetry import page as page_module
10 from telemetry.page import page_set 10 from telemetry.page import page_set
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 @classmethod 188 @classmethod
189 def Name(cls): 189 def Name(cls):
190 return 'blink_perf.dom' 190 return 'blink_perf.dom'
191 191
192 def CreatePageSet(self, options): 192 def CreatePageSet(self, options):
193 path = os.path.join(BLINK_PERF_BASE_DIR, 'DOM') 193 path = os.path.join(BLINK_PERF_BASE_DIR, 'DOM')
194 return CreatePageSetFromPath(path, SKIPPED_FILE) 194 return CreatePageSetFromPath(path, SKIPPED_FILE)
195 195
196 196
197 @benchmark.Disabled('release_x64') # http://crbug.com/480999
197 class BlinkPerfEvents(benchmark.Benchmark): 198 class BlinkPerfEvents(benchmark.Benchmark):
198 tag = 'events' 199 tag = 'events'
199 test = _BlinkPerfMeasurement 200 test = _BlinkPerfMeasurement
200 201
201 @classmethod 202 @classmethod
202 def Name(cls): 203 def Name(cls):
203 return 'blink_perf.events' 204 return 'blink_perf.events'
204 205
205 def CreatePageSet(self, options): 206 def CreatePageSet(self, options):
206 path = os.path.join(BLINK_PERF_BASE_DIR, 'Events') 207 path = os.path.join(BLINK_PERF_BASE_DIR, 'Events')
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 tag = 'xml_http_request' 300 tag = 'xml_http_request'
300 test = _BlinkPerfMeasurement 301 test = _BlinkPerfMeasurement
301 302
302 @classmethod 303 @classmethod
303 def Name(cls): 304 def Name(cls):
304 return 'blink_perf.xml_http_request' 305 return 'blink_perf.xml_http_request'
305 306
306 def CreatePageSet(self, options): 307 def CreatePageSet(self, options):
307 path = os.path.join(BLINK_PERF_BASE_DIR, 'XMLHttpRequest') 308 path = os.path.join(BLINK_PERF_BASE_DIR, 'XMLHttpRequest')
308 return CreatePageSetFromPath(path, SKIPPED_FILE) 309 return CreatePageSetFromPath(path, SKIPPED_FILE)
OLDNEW
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | tools/perf/benchmarks/service_worker.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698