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

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

Issue 2409073003: Add loading mobile benchmark (but disable it) (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 | « tools/perf/OWNERS ('k') | tools/perf/benchmarks/page_cycler_v2.py » ('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 2016 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 core import perf_benchmark
6 import page_sets
7
8 from benchmarks import page_cycler_v2
9 from telemetry import benchmark
10 from telemetry.page import cache_temperature
11
12
13 @benchmark.Disabled('all') # crbug.com/654215
14 class LoadingMobile(perf_benchmark.PerfBenchmark):
15 """ A benchmark measuring loading performance of mobile sites. """
16
17 options = {'pageset_repeat': 2}
18
19 def CreateTimelineBasedMeasurementOptions(self):
20 return page_cycler_v2.TimelineBasedMeasurementOptionsForLoadingMetric()
21
22 @classmethod
23 def Name(cls):
24 return 'loading.mobile'
25
26 def CreateStorySet(self, options):
27 return page_sets.LoadingMobileStorySet(cache_temperatures=[
28 cache_temperature.ANY])
OLDNEW
« no previous file with comments | « tools/perf/OWNERS ('k') | tools/perf/benchmarks/page_cycler_v2.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698