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

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

Issue 1859003002: [DO NOT SUBMIT] Telemetry error on non existing archive_data_file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | 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 shared_page_state 5 from telemetry.page import shared_page_state
6 from telemetry import story 6 from telemetry import story
7 7
8 from page_sets.login_helpers import google_login 8 from page_sets.login_helpers import google_login
9 from page_sets import top_pages 9 from page_sets import top_pages
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 with action_runner.CreateGestureInteraction('ScrollAction'): 98 with action_runner.CreateGestureInteraction('ScrollAction'):
99 action_runner.ScrollPage(left_start_ratio=0.1) 99 action_runner.ScrollPage(left_start_ratio=0.1)
100 100
101 101
102 class Top25SmoothPageSet(story.StorySet): 102 class Top25SmoothPageSet(story.StorySet):
103 103
104 """ Pages hand-picked for 2012 CrOS scrolling tuning efforts. """ 104 """ Pages hand-picked for 2012 CrOS scrolling tuning efforts. """
105 105
106 def __init__(self, techcrunch=True): 106 def __init__(self, techcrunch=True):
107 super(Top25SmoothPageSet, self).__init__( 107 super(Top25SmoothPageSet, self).__init__(
108 archive_data_file='data/top_25_smooth.json', 108 archive_data_file='data/top_25_mooth.json',
109 cloud_storage_bucket=story.PARTNER_BUCKET) 109 cloud_storage_bucket=story.PARTNER_BUCKET)
110 110
111 desktop_state_class = shared_page_state.SharedDesktopPageState 111 desktop_state_class = shared_page_state.SharedDesktopPageState
112 112
113 self.AddStory(_CreatePageClassWithSmoothInteractions( 113 self.AddStory(_CreatePageClassWithSmoothInteractions(
114 top_pages.GoogleWebSearchPage)(self, desktop_state_class)) 114 top_pages.GoogleWebSearchPage)(self, desktop_state_class))
115 self.AddStory(GmailSmoothPage(self, desktop_state_class)) 115 self.AddStory(GmailSmoothPage(self, desktop_state_class))
116 self.AddStory(GoogleCalendarSmoothPage(self, desktop_state_class)) 116 self.AddStory(GoogleCalendarSmoothPage(self, desktop_state_class))
117 self.AddStory(_CreatePageClassWithSmoothInteractions( 117 self.AddStory(_CreatePageClassWithSmoothInteractions(
118 top_pages.GoogleImageSearchPage)(self, desktop_state_class)) 118 top_pages.GoogleImageSearchPage)(self, desktop_state_class))
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 other_urls.append('http://techcrunch.com') 165 other_urls.append('http://techcrunch.com')
166 166
167 for url in other_urls: 167 for url in other_urls:
168 self.AddStory(TopSmoothPage(url, self)) 168 self.AddStory(TopSmoothPage(url, self))
169 169
170 170
171 class V8Top25SmoothPageSet(Top25SmoothPageSet): 171 class V8Top25SmoothPageSet(Top25SmoothPageSet):
172 def __init__(self): 172 def __init__(self):
173 # Disabled for V8 because of crbug.com/507836, crbug.com/527425 173 # Disabled for V8 because of crbug.com/507836, crbug.com/527425
174 super(V8Top25SmoothPageSet, self).__init__(techcrunch=False) 174 super(V8Top25SmoothPageSet, self).__init__(techcrunch=False)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698