| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 129 |
| 130 @classmethod | 130 @classmethod |
| 131 def Name(cls): | 131 def Name(cls): |
| 132 return 'page_cycler_v2.intl_hi_ru' | 132 return 'page_cycler_v2.intl_hi_ru' |
| 133 | 133 |
| 134 def CreateStorySet(self, options): | 134 def CreateStorySet(self, options): |
| 135 return page_sets.IntlHiRuPageSet(cache_temperatures=[ | 135 return page_sets.IntlHiRuPageSet(cache_temperatures=[ |
| 136 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) | 136 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) |
| 137 | 137 |
| 138 | 138 |
| 139 @benchmark.Disabled('android') # crbug.com/666898 |
| 139 class PageCyclerV2IntlJaZh(_PageCyclerV2): | 140 class PageCyclerV2IntlJaZh(_PageCyclerV2): |
| 140 """Page load time benchmark for a variety of pages in Japanese and Chinese. | 141 """Page load time benchmark for a variety of pages in Japanese and Chinese. |
| 141 | 142 |
| 142 Runs against pages recorded in April, 2013. | 143 Runs against pages recorded in April, 2013. |
| 143 """ | 144 """ |
| 144 | 145 |
| 145 @classmethod | 146 @classmethod |
| 146 def Name(cls): | 147 def Name(cls): |
| 147 return 'page_cycler_v2.intl_ja_zh' | 148 return 'page_cycler_v2.intl_ja_zh' |
| 148 | 149 |
| (...skipping 72 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 |