OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """The page cycler v2. | 5 """The page cycler v2. |
6 | 6 |
7 For details, see design doc: | 7 For details, see design doc: |
8 https://docs.google.com/document/d/1EZQX-x3eEphXupiX-Hq7T4Afju5_sIdxPWYetj7ynd0 | 8 https://docs.google.com/document/d/1EZQX-x3eEphXupiX-Hq7T4Afju5_sIdxPWYetj7ynd0 |
9 """ | 9 """ |
10 | 10 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 """ | 132 """ |
133 page_set = page_sets.IntlKoThViPageSet | 133 page_set = page_sets.IntlKoThViPageSet |
134 | 134 |
135 @classmethod | 135 @classmethod |
136 def Name(cls): | 136 def Name(cls): |
137 return 'page_cycler_v2.intl_ko_th_vi' | 137 return 'page_cycler_v2.intl_ko_th_vi' |
138 | 138 |
139 def CreateStorySet(self, options): | 139 def CreateStorySet(self, options): |
140 return page_sets.IntlKoThViPageSet(cache_temperatures=[ | 140 return page_sets.IntlKoThViPageSet(cache_temperatures=[ |
141 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) | 141 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) |
| 142 |
| 143 |
| 144 class PageCyclerV2Top10Mobile(_PageCyclerV2): |
| 145 """Page load time benchmark for the top 10 mobile web pages. |
| 146 |
| 147 Runs against pages recorded in November, 2013. |
| 148 """ |
| 149 |
| 150 @classmethod |
| 151 def Name(cls): |
| 152 return 'page_cycler_v2.top_10_mobile' |
| 153 |
| 154 def CreateStorySet(self, options): |
| 155 return page_sets.Top10MobilePageSet(run_no_page_interactions=True, |
| 156 cache_temperatures=[ |
| 157 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) |
OLD | NEW |