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

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

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

Powered by Google App Engine
This is Rietveld 408576698