| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 from core import perf_benchmark | 5 from core import perf_benchmark |
| 6 | 6 |
| 7 from measurements import page_cycler | 7 from measurements import page_cycler |
| 8 import page_sets | 8 import page_sets |
| 9 from telemetry import benchmark | 9 from telemetry import benchmark |
| 10 | 10 |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 'mandoline-release', 'mandoline-debug') | 220 'mandoline-release', 'mandoline-debug') |
| 221 class PageCyclerTypical25(_PageCycler): | 221 class PageCyclerTypical25(_PageCycler): |
| 222 """Page load time benchmark for a 25 typical web pages. | 222 """Page load time benchmark for a 25 typical web pages. |
| 223 | 223 |
| 224 Designed to represent typical, not highly optimized or highly popular web | 224 Designed to represent typical, not highly optimized or highly popular web |
| 225 sites. Runs against pages recorded in June, 2014. | 225 sites. Runs against pages recorded in June, 2014. |
| 226 """ | 226 """ |
| 227 options = {'pageset_repeat': 3} | 227 options = {'pageset_repeat': 3} |
| 228 | 228 |
| 229 @classmethod | 229 @classmethod |
| 230 def ShouldDisable(cls, possible_browser): # http://crbug.com/593152 |
| 231 return (possible_browser.browser_type == 'reference' and |
| 232 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') |
| 233 |
| 234 @classmethod |
| 230 def Name(cls): | 235 def Name(cls): |
| 231 return 'page_cycler.typical_25' | 236 return 'page_cycler.typical_25' |
| 232 | 237 |
| 233 def CreateStorySet(self, options): | 238 def CreateStorySet(self, options): |
| 234 return page_sets.Typical25PageSet(run_no_page_interactions=True) | 239 return page_sets.Typical25PageSet(run_no_page_interactions=True) |
| 235 | 240 |
| 236 | 241 |
| 237 @benchmark.Disabled('reference', 'android') | 242 @benchmark.Disabled('reference', 'android') |
| 238 class PageCyclerBasicOopifIsolated(_PageCycler): | 243 class PageCyclerBasicOopifIsolated(_PageCycler): |
| 239 """ A benchmark measuring performance of out-of-process iframes. """ | 244 """ A benchmark measuring performance of out-of-process iframes. """ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 258 return 'page_cycler.basic_oopif' | 263 return 'page_cycler.basic_oopif' |
| 259 | 264 |
| 260 | 265 |
| 261 @benchmark.Disabled('all') # crbug.com/443730 | 266 @benchmark.Disabled('all') # crbug.com/443730 |
| 262 class PageCyclerBigJs(_PageCycler): | 267 class PageCyclerBigJs(_PageCycler): |
| 263 page_set = page_sets.BigJsPageSet | 268 page_set = page_sets.BigJsPageSet |
| 264 | 269 |
| 265 @classmethod | 270 @classmethod |
| 266 def Name(cls): | 271 def Name(cls): |
| 267 return 'page_cycler.big_js' | 272 return 'page_cycler.big_js' |
| OLD | NEW |