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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 # crbug.com/651188 | 59 # crbug.com/651188 |
60 if ((possible_browser.platform.GetDeviceTypeName() == 'Nexus 6' or | 60 if ((possible_browser.platform.GetDeviceTypeName() == 'Nexus 6' or |
61 possible_browser.platform.GetDeviceTypeName() == 'AOSP on Shamu') and | 61 possible_browser.platform.GetDeviceTypeName() == 'AOSP on Shamu') and |
62 possible_browser.browser_type == 'android-webview'): | 62 possible_browser.browser_type == 'android-webview'): |
63 return True | 63 return True |
64 | 64 |
65 return False | 65 return False |
66 | 66 |
67 | 67 |
| 68 @benchmark.Disabled('win10') |
68 class PageCyclerV2Typical25(_PageCyclerV2): | 69 class PageCyclerV2Typical25(_PageCyclerV2): |
69 """Page load time benchmark for a 25 typical web pages. | 70 """Page load time benchmark for a 25 typical web pages. |
70 | 71 |
71 Designed to represent typical, not highly optimized or highly popular web | 72 Designed to represent typical, not highly optimized or highly popular web |
72 sites. Runs against pages recorded in June, 2014. | 73 sites. Runs against pages recorded in June, 2014. |
73 """ | 74 """ |
74 | 75 |
75 @classmethod | 76 @classmethod |
76 def Name(cls): | 77 def Name(cls): |
77 return 'page_cycler_v2.typical_25' | 78 return 'page_cycler_v2.typical_25' |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 set, without running in out-of-process iframes mode.. """ | 216 set, without running in out-of-process iframes mode.. """ |
216 page_set = page_sets.OopifBasicPageSet | 217 page_set = page_sets.OopifBasicPageSet |
217 | 218 |
218 @classmethod | 219 @classmethod |
219 def Name(cls): | 220 def Name(cls): |
220 return 'page_cycler_v2.basic_oopif' | 221 return 'page_cycler_v2.basic_oopif' |
221 | 222 |
222 def CreateStorySet(self, options): | 223 def CreateStorySet(self, options): |
223 return page_sets.OopifBasicPageSet(cache_temperatures=[ | 224 return page_sets.OopifBasicPageSet(cache_temperatures=[ |
224 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) | 225 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) |
OLD | NEW |