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

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

Issue 2363343003: Add loading mobile story set (Closed)
Patch Set: Comments addressed 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
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.page import cache_temperature
10
11
12 class LoadingMobile(perf_benchmark.PerfBenchmark):
nednguyen 2016/10/03 14:42:22 Enable this benchmark on Android only?
Kunihiko Sakamoto 2016/10/07 07:21:36 Done.
13 """ A benchmark measuring loading performance of mobile sites. """
14
15 options = {'pageset_repeat': 2}
16
17 def CreateTimelineBasedMeasurementOptions(self):
18 return page_cycler_v2.TimelineBasedMeasurementOptionsForLoadingMetric()
19
20 @classmethod
21 def Name(cls):
22 return 'loading.mobile'
23
24 def CreateStorySet(self, options):
25 return page_sets.LoadingMobileStorySet(cache_temperatures=[
26 cache_temperature.ANY])
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/page_cycler_v2.py » ('j') | tools/perf/page_sets/loading_mobile.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698