| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 def Name(cls): | 208 def Name(cls): |
| 209 return 'page_cycler_v2_site_isolation.basic_oopif' | 209 return 'page_cycler_v2_site_isolation.basic_oopif' |
| 210 | 210 |
| 211 def SetExtraBrowserOptions(self, options): | 211 def SetExtraBrowserOptions(self, options): |
| 212 options.AppendExtraBrowserArgs(['--site-per-process']) | 212 options.AppendExtraBrowserArgs(['--site-per-process']) |
| 213 | 213 |
| 214 def CreateStorySet(self, options): | 214 def CreateStorySet(self, options): |
| 215 return page_sets.OopifBasicPageSet(cache_temperatures=[ | 215 return page_sets.OopifBasicPageSet(cache_temperatures=[ |
| 216 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) | 216 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) |
| 217 | 217 |
| 218 | 218 @benchmark.Disabled('android') |
| 219 class PageCyclerV2BasicOopif(_PageCyclerV2): | 219 class PageCyclerV2BasicOopif(_PageCyclerV2): |
| 220 """ A benchmark measuring performance of the out-of-process iframes page | 220 """ A benchmark measuring performance of the out-of-process iframes page |
| 221 set, without running in out-of-process iframes mode.. """ | 221 set, without running in out-of-process iframes mode.. """ |
| 222 page_set = page_sets.OopifBasicPageSet | 222 page_set = page_sets.OopifBasicPageSet |
| 223 | 223 |
| 224 @classmethod | 224 @classmethod |
| 225 def Name(cls): | 225 def Name(cls): |
| 226 return 'page_cycler_v2.basic_oopif' | 226 return 'page_cycler_v2.basic_oopif' |
| 227 | 227 |
| 228 def CreateStorySet(self, options): | 228 def CreateStorySet(self, options): |
| 229 return page_sets.OopifBasicPageSet(cache_temperatures=[ | 229 return page_sets.OopifBasicPageSet(cache_temperatures=[ |
| 230 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) | 230 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) |
| OLD | NEW |