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

Side by Side Diff: tools/perf/page_sets/key_mobile_sites_smooth.py

Issue 959063002: key_mobile_sites_smooth: Reload pages before scrolling for LinkedIn and Wowwiki (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months 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/page_sets/key_mobile_sites_pages.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from telemetry.page import page as page_module 4 from telemetry.page import page as page_module
5 from telemetry.page import page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
6 6
7 from page_sets import key_mobile_sites_pages 7 from page_sets import key_mobile_sites_pages
8 8
9 9
10 def _IssueMarkerAndScroll(action_runner): 10 def _IssueMarkerAndScroll(action_runner):
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 key_mobile_sites_pages.FacebookPage, 130 key_mobile_sites_pages.FacebookPage,
131 key_mobile_sites_pages.YoutubeMobilePage, 131 key_mobile_sites_pages.YoutubeMobilePage,
132 key_mobile_sites_pages.LinkedInPage, 132 key_mobile_sites_pages.LinkedInPage,
133 key_mobile_sites_pages.YahooAnswersPage, 133 key_mobile_sites_pages.YahooAnswersPage,
134 key_mobile_sites_pages.GoogleNewsMobilePage, 134 key_mobile_sites_pages.GoogleNewsMobilePage,
135 ] 135 ]
136 for page_class in predefined_page_classes: 136 for page_class in predefined_page_classes:
137 self.AddUserStory( 137 self.AddUserStory(
138 _CreatePageClassWithSmoothInteractions(page_class)(self)) 138 _CreatePageClassWithSmoothInteractions(page_class)(self))
139 139
140 # Rerun the LinkedIn page to take the benefit of shader disk cache for
141 # gpu rasterization. Make sure the rerun is after the original page.
142 self.AddUserStory(
143 _CreatePageClassWithSmoothInteractions(
144 key_mobile_sites_pages.LinkedInPage)(self, name='LinkedIn - rerun'))
145
140 # Add pages with custom page interaction logic. 146 # Add pages with custom page interaction logic.
141 147
142 # Page behaves non-deterministically, replaced with test version for now. 148 # Page behaves non-deterministically, replaced with test version for now.
143 # self.AddUserStory(GroupClonedSmoothPage(self)) 149 # self.AddUserStory(GroupClonedSmoothPage(self))
144 # mean_input_event_latency cannot be tracked correctly for 150 # mean_input_event_latency cannot be tracked correctly for
145 # GroupClonedListImagesPage. 151 # GroupClonedListImagesPage.
146 # See crbug.com/409086. 152 # See crbug.com/409086.
147 # self.AddUserStory(GroupClonedListImagesSmoothPage(self)) 153 # self.AddUserStory(GroupClonedListImagesSmoothPage(self))
148 self.AddUserStory(GoogleNewsMobile2SmoothPage(self)) 154 self.AddUserStory(GoogleNewsMobile2SmoothPage(self))
149 self.AddUserStory(AmazonNicolasCageSmoothPage(self)) 155 self.AddUserStory(AmazonNicolasCageSmoothPage(self))
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 # Why: #1 Alexa sports 252 # Why: #1 Alexa sports
247 'http://sports.yahoo.com/', 253 'http://sports.yahoo.com/',
248 # Why: Top tech blog 254 # Why: Top tech blog
249 'http://techcrunch.com', 255 'http://techcrunch.com',
250 # Why: #6 Alexa sports 256 # Why: #6 Alexa sports
251 'http://mlb.com/', 257 'http://mlb.com/',
252 # Why: #14 Alexa California 258 # Why: #14 Alexa California
253 'http://www.sfgate.com/', 259 'http://www.sfgate.com/',
254 # Why: Non-latin character set 260 # Why: Non-latin character set
255 'http://worldjournal.com/', 261 'http://worldjournal.com/',
256 # Why: Mobile wiki
257 'http://www.wowwiki.com/World_of_Warcraft:_Mists_of_Pandaria',
258 # Why: #15 Alexa news 262 # Why: #15 Alexa news
259 'http://online.wsj.com/home-page', 263 'http://online.wsj.com/home-page',
260 # Why: Image-heavy mobile site 264 # Why: Image-heavy mobile site
261 'http://www.deviantart.com/', 265 'http://www.deviantart.com/',
262 # Why: Top search engine 266 # Why: Top search engine
263 ('http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&' 267 ('http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&'
264 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'), 268 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'),
265 # Why: Top search engine 269 # Why: Top search engine
266 'http://www.bing.com/search?q=sloths', 270 'http://www.bing.com/search?q=sloths',
267 # Why: Good example of poor initial scrolling 271 # Why: Good example of poor initial scrolling
268 'http://ftw.usatoday.com/2014/05/spelling-bee-rules-shenanigans' 272 'http://ftw.usatoday.com/2014/05/spelling-bee-rules-shenanigans'
269 ] 273 ]
270 274
271 for url in urls_list: 275 for url in urls_list:
272 self.AddUserStory(KeyMobileSitesSmoothPage(url, self)) 276 self.AddUserStory(KeyMobileSitesSmoothPage(url, self))
277
278 # Why: Mobile wiki
279 wow_url = 'http://www.wowwiki.com/World_of_Warcraft:_Mists_of_Pandaria'
280 self.AddUserStory(KeyMobileSitesSmoothPage(url=wow_url, page_set=self))
281 # Rerun the wowwiki page to take the benefit of shader disk cache for
282 # gpu rasterization. Make sure the rerun is after the original page.
283 self.AddUserStory(KeyMobileSitesSmoothPage(
jdduke (slow) 2015/02/26 22:05:04 Are we guaranteed that the same page will run on t
Yufeng Shen (Slow to review) 2015/02/26 22:15:04 I think one benchmark always runs on the same devi
284 url=wow_url, page_set=self, name=wow_url + ' - rerun'))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/key_mobile_sites_pages.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698