| OLD | NEW |
| (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]) |
| OLD | NEW |