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

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

Issue 794013002: [ServiceWorker] Re-enable service_worker.service_worker perf test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 collections 5 import collections
6 import page_sets 6 import page_sets
7 import re 7 import re
8 8
9 from measurements import timeline_controller 9 from measurements import timeline_controller
10 from metrics import speedindex 10 from metrics import speedindex
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 browser_process = self._timeline_controller.model.browser_process 166 browser_process = self._timeline_controller.model.browser_process
167 filter_text = '(RegisterServiceWorker|'\ 167 filter_text = '(RegisterServiceWorker|'\
168 'UnregisterServiceWorker|'\ 168 'UnregisterServiceWorker|'\
169 'ProcessAllocate|'\ 169 'ProcessAllocate|'\
170 'FindRegistrationForDocument|'\ 170 'FindRegistrationForDocument|'\
171 'DispatchFetchEvent)' 171 'DispatchFetchEvent)'
172 timeline_metric.AddResultsOfEvents( 172 timeline_metric.AddResultsOfEvents(
173 browser_process, 'IOThread', filter_text , results) 173 browser_process, 'IOThread', filter_text , results)
174 174
175 175
176 # TODO(simonhatch): Temporarily disabling (http://crbug.com/433943)
177 @benchmark.Disabled
178 class ServiceWorkerPerfTest(benchmark.Benchmark): 176 class ServiceWorkerPerfTest(benchmark.Benchmark):
179 """Performance test on public applications using ServiceWorker""" 177 """Performance test on public applications using ServiceWorker"""
180 test = _ServiceWorkerMeasurement 178 test = _ServiceWorkerMeasurement
181 page_set = page_sets.ServiceWorkerPageSet 179 page_set = page_sets.ServiceWorkerPageSet
182 180
183 181
184 class ServiceWorkerMicroBenchmarkPerfTest(benchmark.Benchmark): 182 class ServiceWorkerMicroBenchmarkPerfTest(benchmark.Benchmark):
185 """Service Worker performance test using a micro benchmark page set""" 183 """Service Worker performance test using a micro benchmark page set"""
186 test = _ServiceWorkerMicroBenchmarkMeasurement 184 test = _ServiceWorkerMicroBenchmarkMeasurement
187 page_set = page_sets.ServiceWorkerMicroBenchmarkPageSet 185 page_set = page_sets.ServiceWorkerMicroBenchmarkPageSet
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