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