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

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

Issue 2372433003: Replace twitter with pinterest in v8.mobile_infinite_scroll_tbmv2. (Closed)
Patch Set: Created 4 years, 2 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/data/mobile_infinite_scroll_001.wpr.sha1 ('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 from page_sets import mobile_facebook_page 4 from page_sets import mobile_facebook_page
5 from telemetry.page import page as page_module 5 from telemetry.page import page as page_module
6 from telemetry.page import shared_page_state 6 from telemetry.page import shared_page_state
7 from telemetry import story 7 from telemetry import story
8 8
9 TIME_TO_WAIT_BEFORE_STARTING_IN_SECONDS = 5 9 TIME_TO_WAIT_BEFORE_STARTING_IN_SECONDS = 5
10 SCROLL_TIMEOUT_IN_SECONDS = 120 10 SCROLL_TIMEOUT_IN_SECONDS = 120
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 def __init__(self): 77 def __init__(self):
78 super(MobileInfiniteScrollPageSet, self).__init__( 78 super(MobileInfiniteScrollPageSet, self).__init__(
79 archive_data_file='data/mobile_infinite_scroll.json', 79 archive_data_file='data/mobile_infinite_scroll.json',
80 cloud_storage_bucket=story.PARTNER_BUCKET) 80 cloud_storage_bucket=story.PARTNER_BUCKET)
81 # The scroll distance is chosen such that the page can be scrolled 81 # The scroll distance is chosen such that the page can be scrolled
82 # continuously through the test without hitting the end of the page. 82 # continuously through the test without hitting the end of the page.
83 SCROLL_FAR = 60 83 SCROLL_FAR = 60
84 SCROLL_PAGE = 1 84 SCROLL_PAGE = 1
85 pages = [ 85 pages = [
86 ('https://m.facebook.com/shakira', 'facebook', SCROLL_FAR, 0, 0), 86 ('https://m.facebook.com/shakira', 'facebook', SCROLL_FAR, 0, 0),
87 ('https://mobile.twitter.com/taylorswift13', 'twitter', SCROLL_PAGE, 10, 30), 87 ('https://www.pinterest.com/all', 'pinterest', SCROLL_FAR, 0, 0),
88 ('http://techcrunch.tumblr.com/', 'tumblr', SCROLL_FAR, 0, 0), 88 ('http://techcrunch.tumblr.com/', 'tumblr', SCROLL_FAR, 0, 0),
89 ('https://www.flickr.com/explore', 'flickr', SCROLL_FAR, 0, 0), 89 ('https://www.flickr.com/explore', 'flickr', SCROLL_FAR, 0, 0),
90 ('https://meta.discourse.org/t/the-official-discourse-tags-plugin-discou rse-tagging/26482', 90 ('https://meta.discourse.org/t/the-official-discourse-tags-plugin-discou rse-tagging/26482',
91 'discourse', SCROLL_PAGE, 10, 30) 91 'discourse', SCROLL_PAGE, 10, 30)
92 ] 92 ]
93 self.AddStory( 93 self.AddStory(
94 MobileInfiniteScrollFacebookPage(pages[0][0], self, pages[0][1], 94 MobileInfiniteScrollFacebookPage(pages[0][0], self, pages[0][1],
95 pages[0][2], pages[0][3], pages[0][4])) 95 pages[0][2], pages[0][3], pages[0][4]))
96 for (url, name, scroll_amount, delay, repeat) in pages[1:]: 96 for (url, name, scroll_amount, delay, repeat) in pages[1:]:
97 self.AddStory( 97 self.AddStory(
98 MobileInfiniteScrollPage(url, self, name, scroll_amount, delay, repeat)) 98 MobileInfiniteScrollPage(url, self, name, scroll_amount, delay, repeat))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/data/mobile_infinite_scroll_001.wpr.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698