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

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

Issue 2703443004: Add Web Components page sets and benchmark
Patch Set: wip Created 3 years, 8 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/perf/benchmark.csv ('k') | tools/perf/page_sets/data/web_components.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 from benchmarks import page_cycler_v2
6 from core import perf_benchmark
7 from telemetry import benchmark
8 from telemetry.web_perf import timeline_based_measurement
9 import page_sets
10
11
12 # Disabled because we do not plan on running CT benchmarks on the perf
13 # waterfall any time soon.
14 @benchmark.Disabled('all')
15 @benchmark.Owner(emails=['hayato@chromium.org'])
16 class WebComponents(perf_benchmark.PerfBenchmark):
17
18 options = {'pageset_repeat': 3}
19 page_set = page_sets.WebComponentsPageSet
20
21 def CreateTimelineBasedMeasurementOptions(self):
22 tbm_options = timeline_based_measurement.Options()
23 page_cycler_v2.AugmentOptionsForLoadingMetrics(tbm_options)
24 tbm_options.SetTimelineBasedMetrics(['loadingMetric'])
25 return tbm_options
26
27 @classmethod
28 def Name(cls):
29 return 'web_components.web_components'
OLDNEW
« no previous file with comments | « tools/perf/benchmark.csv ('k') | tools/perf/page_sets/data/web_components.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698