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

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

Issue 2933173002: Deleting unused story sets (Closed)
Patch Set: Deleting unused story sets Created 3 years, 6 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/startup_pages_record.py ('k') | tools/perf/page_sets/top_10_mobile.py » ('j') | 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 8
9 class SimplePage(page_module.Page): 9 class SimplePage(page_module.Page):
10 def __init__(self, url, page_set, credentials='', name=''): 10 def __init__(self, url, page_set, credentials='', name=''):
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 self.AddStory(SimplePage('http://www.amazon.com', self)) 121 self.AddStory(SimplePage('http://www.amazon.com', self))
122 122
123 # #4 Alexa 123 # #4 Alexa
124 self.AddStory(SimplePage('http://www.yahoo.com/', self)) 124 self.AddStory(SimplePage('http://www.yahoo.com/', self))
125 125
126 # #16 Alexa 126 # #16 Alexa
127 self.AddStory(SimplePage('http://www.bing.com/', self)) 127 self.AddStory(SimplePage('http://www.bing.com/', self))
128 128
129 # #20 Alexa 129 # #20 Alexa
130 self.AddStory(SimplePage('http://www.ask.com/', self)) 130 self.AddStory(SimplePage('http://www.ask.com/', self))
131
132
133 # TODO(skyostil): Replace this with Top10PageSet once the power metric can deal
134 # with pages that don't become quiescent. See crbug.com/662381.
135 class Top10QuiescentPageSet(story.StorySet):
136 """10 pages that reach network quiesence chosen from Alexa top sites"""
137
138 def __init__(self):
139 super(Top10QuiescentPageSet, self).__init__(
140 archive_data_file='data/top_10.json',
141 cloud_storage_bucket=story.PARTNER_BUCKET)
142 self.AddStory(Google(self))
143 # TODO(dominikg): fix crbug.com/386152
144 #self.AddStory(Gmail(self))
145 self.AddStory(GoogleCalendar(self))
146 self.AddStory(Youtube(self))
147 # crbug.com/662381.
148 #self.AddStory(Facebook(self))
149 self.AddStory(SimplePage('http://en.wikipedia.org/wiki/Wikipedia',
150 self, name='Wikipedia'))
151 self.AddStory(SimplePage('http://www.amazon.com', self))
152 self.AddStory(SimplePage('http://www.yahoo.com/', self))
153 self.AddStory(SimplePage('http://www.bing.com/', self))
154 self.AddStory(SimplePage('http://www.ask.com/', self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/startup_pages_record.py ('k') | tools/perf/page_sets/top_10_mobile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698