Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Side by Side Diff: tools/perf/benchmarks/page_cycler_v2.py

Issue 2564773002: Enable page_cycler_v2 and loading.mobile on webview (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/perf/benchmarks/loading.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 # crbug.com/619254 52 # crbug.com/619254
53 if possible_browser.browser_type == 'reference': 53 if possible_browser.browser_type == 'reference':
54 return True 54 return True
55 55
56 # crbug.com/616781 56 # crbug.com/616781
57 if (cls.IsSvelte(possible_browser) or 57 if (cls.IsSvelte(possible_browser) or
58 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X' or 58 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X' or
59 possible_browser.platform.GetDeviceTypeName() == 'AOSP on BullHead'): 59 possible_browser.platform.GetDeviceTypeName() == 'AOSP on BullHead'):
60 return True 60 return True
61 61
62 # crbug.com/651188
63 if ((possible_browser.platform.GetDeviceTypeName() == 'Nexus 6' or
64 possible_browser.platform.GetDeviceTypeName() == 'AOSP on Shamu') and
65 possible_browser.browser_type == 'android-webview'):
66 return True
67
68 return False 62 return False
69 63
70 64
71 @benchmark.Disabled('win10') 65 @benchmark.Disabled('win10')
72 @benchmark.Disabled('android') # crbug.com/654217 66 @benchmark.Disabled('android') # crbug.com/654217
73 class PageCyclerV2Typical25(_PageCyclerV2): 67 class PageCyclerV2Typical25(_PageCyclerV2):
74 """Page load time benchmark for a 25 typical web pages. 68 """Page load time benchmark for a 25 typical web pages.
75 69
76 Designed to represent typical, not highly optimized or highly popular web 70 Designed to represent typical, not highly optimized or highly popular web
77 sites. Runs against pages recorded in June, 2014. 71 sites. Runs against pages recorded in June, 2014.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 set, without running in out-of-process iframes mode.. """ 216 set, without running in out-of-process iframes mode.. """
223 page_set = page_sets.OopifBasicPageSet 217 page_set = page_sets.OopifBasicPageSet
224 218
225 @classmethod 219 @classmethod
226 def Name(cls): 220 def Name(cls):
227 return 'page_cycler_v2.basic_oopif' 221 return 'page_cycler_v2.basic_oopif'
228 222
229 def CreateStorySet(self, options): 223 def CreateStorySet(self, options):
230 return page_sets.OopifBasicPageSet(cache_temperatures=[ 224 return page_sets.OopifBasicPageSet(cache_temperatures=[
231 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM]) 225 cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM])
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/loading.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698