| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 160 |
| 161 @classmethod | 161 @classmethod |
| 162 def Name(cls): | 162 def Name(cls): |
| 163 return 'page_cycler_v2.intl_ko_th_vi' | 163 return 'page_cycler_v2.intl_ko_th_vi' |
| 164 | 164 |
| 165 def CreateStorySet(self, options): | 165 def CreateStorySet(self, options): |
| 166 return page_sets.IntlKoThViPageSet(cache_temperatures=[ | 166 return page_sets.IntlKoThViPageSet(cache_temperatures=[ |
| 167 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) | 167 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) |
| 168 | 168 |
| 169 | 169 |
| 170 @benchmark.Enabled('android') |
| 170 class PageCyclerV2Top10Mobile(_PageCyclerV2): | 171 class PageCyclerV2Top10Mobile(_PageCyclerV2): |
| 171 """Page load time benchmark for the top 10 mobile web pages. | 172 """Page load time benchmark for the top 10 mobile web pages. |
| 172 | 173 |
| 173 Runs against pages recorded in November, 2013. | 174 Runs against pages recorded in November, 2013. |
| 174 """ | 175 """ |
| 175 | 176 |
| 176 @classmethod | 177 @classmethod |
| 177 def Name(cls): | 178 def Name(cls): |
| 178 return 'page_cycler_v2.top_10_mobile' | 179 return 'page_cycler_v2.top_10_mobile' |
| 179 | 180 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 set, without running in out-of-process iframes mode.. """ | 222 set, without running in out-of-process iframes mode.. """ |
| 222 page_set = page_sets.OopifBasicPageSet | 223 page_set = page_sets.OopifBasicPageSet |
| 223 | 224 |
| 224 @classmethod | 225 @classmethod |
| 225 def Name(cls): | 226 def Name(cls): |
| 226 return 'page_cycler_v2.basic_oopif' | 227 return 'page_cycler_v2.basic_oopif' |
| 227 | 228 |
| 228 def CreateStorySet(self, options): | 229 def CreateStorySet(self, options): |
| 229 return page_sets.OopifBasicPageSet(cache_temperatures=[ | 230 return page_sets.OopifBasicPageSet(cache_temperatures=[ |
| 230 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) | 231 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) |
| OLD | NEW |