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

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

Issue 951223002: Enable ServiceWorkerMicroBenchmarkPerfTest (service_worker.service_worker_micro_benchmark) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 class ServiceWorkerPerfTest(benchmark.Benchmark): 179 class ServiceWorkerPerfTest(benchmark.Benchmark):
180 """Performance test on public applications using ServiceWorker""" 180 """Performance test on public applications using ServiceWorker"""
181 test = _ServiceWorkerMeasurement 181 test = _ServiceWorkerMeasurement
182 page_set = page_sets.ServiceWorkerPageSet 182 page_set = page_sets.ServiceWorkerPageSet
183 183
184 @classmethod 184 @classmethod
185 def Name(cls): 185 def Name(cls):
186 return 'service_worker.service_worker' 186 return 'service_worker.service_worker'
187 187
188 188
189 # Disabled due to redness on the tree. crbug.com/442752
190 @benchmark.Disabled
191 class ServiceWorkerMicroBenchmarkPerfTest(benchmark.Benchmark): 189 class ServiceWorkerMicroBenchmarkPerfTest(benchmark.Benchmark):
192 """This test measures the performance of pages using ServiceWorker. 190 """This test measures the performance of pages using ServiceWorker.
193 191
194 As a page set, two benchamrk pages (many registration, many concurrent 192 As a page set, two benchamrk pages (many registration, many concurrent
195 fetching) and one application (Trained-to-thrill: 193 fetching) and one application (Trained-to-thrill:
196 https://jakearchibald.github.io/trained-to-thrill/) are included. Execution 194 https://jakearchibald.github.io/trained-to-thrill/) are included. Execution
197 time of these pages will be shown as Speed Index, and TRACE_EVENTs are 195 time of these pages will be shown as Speed Index, and TRACE_EVENTs are
198 subsidiary information to know more detail performance regression. 196 subsidiary information to know more detail performance regression.
199 """ 197 """
200 test = _ServiceWorkerMicroBenchmarkMeasurement 198 test = _ServiceWorkerMicroBenchmarkMeasurement
201 page_set = page_sets.ServiceWorkerMicroBenchmarkPageSet 199 page_set = page_sets.ServiceWorkerMicroBenchmarkPageSet
202 @classmethod 200 @classmethod
203 def Name(cls): 201 def Name(cls):
204 return 'service_worker.service_worker_micro_benchmark' 202 return 'service_worker.service_worker_micro_benchmark'
205 203
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