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

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

Issue 2363343003: Add loading mobile story set (Closed)
Patch Set: wpr uploaded 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 import page_sets
6
7 from benchmarks import page_cycler_v2
8 from telemetry.page import cache_temperature
9
10
11 class LoadingMobile(page_cycler_v2.PageCyclerV2):
12 """ A benchmark measuring loading performance of mobile sites. """
13
14 @classmethod
15 def Name(cls):
16 return 'loading.mobile'
17
18 def CreateStorySet(self, options):
19 return page_sets.LoadingMobileStorySet(cache_temperatures=[
20 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM])
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/page_cycler_v2.py » ('j') | tools/perf/benchmarks/page_cycler_v2.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698