| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 Runs against pages recorded in April, 2013. | 100 Runs against pages recorded in April, 2013. |
| 101 """ | 101 """ |
| 102 | 102 |
| 103 @classmethod | 103 @classmethod |
| 104 def Name(cls): | 104 def Name(cls): |
| 105 return 'page_cycler_v2.intl_ja_zh' | 105 return 'page_cycler_v2.intl_ja_zh' |
| 106 | 106 |
| 107 def CreateStorySet(self, options): | 107 def CreateStorySet(self, options): |
| 108 return page_sets.IntlJaZhPageSet(cache_temperatures=[ | 108 return page_sets.IntlJaZhPageSet(cache_temperatures=[ |
| 109 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) | 109 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) |
| 110 |
| 111 |
| 112 class PageCyclerV2IntlKoThVi(_PageCyclerV2): |
| 113 """Page load time for a variety of pages in Korean, Thai and Vietnamese. |
| 114 |
| 115 Runs against pages recorded in April, 2013. |
| 116 """ |
| 117 page_set = page_sets.IntlKoThViPageSet |
| 118 |
| 119 @classmethod |
| 120 def Name(cls): |
| 121 return 'page_cycler_v2.intl_ko_th_vi' |
| 122 |
| 123 def CreateStorySet(self, options): |
| 124 return page_sets.IntlKoThViPageSet(cache_temperatures=[ |
| 125 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) |
| OLD | NEW |