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

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

Issue 799183002: Rename AddPage -> AddUserStory in tools/perf/page_sets/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/top_25_smooth.py ('k') | tools/perf/page_sets/top_desktop_sites_2012Q3.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 page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
6 6
7 7
8 def _GetCurrentLocation(action_runner): 8 def _GetCurrentLocation(action_runner):
9 return action_runner.EvaluateJavaScript('document.location.href') 9 return action_runner.EvaluateJavaScript('document.location.href')
10 10
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 class Top7StressPageSet(page_set_module.PageSet): 326 class Top7StressPageSet(page_set_module.PageSet):
327 327
328 """ Pages hand-picked for stress testing. """ 328 """ Pages hand-picked for stress testing. """
329 329
330 def __init__(self): 330 def __init__(self):
331 super(Top7StressPageSet, self).__init__( 331 super(Top7StressPageSet, self).__init__(
332 user_agent_type='desktop', 332 user_agent_type='desktop',
333 archive_data_file='data/top_25.json', 333 archive_data_file='data/top_25.json',
334 bucket=page_set_module.PARTNER_BUCKET) 334 bucket=page_set_module.PARTNER_BUCKET)
335 335
336 self.AddPage(GoogleWebSearchPage(self)) 336 self.AddUserStory(GoogleWebSearchPage(self))
337 self.AddPage(GmailPage(self)) 337 self.AddUserStory(GmailPage(self))
338 self.AddPage(GoogleCalendarPage(self)) 338 self.AddUserStory(GoogleCalendarPage(self))
339 self.AddPage(GooglePlusPage(self)) 339 self.AddUserStory(GooglePlusPage(self))
340 self.AddPage(BlogspotPage(self)) 340 self.AddUserStory(BlogspotPage(self))
341 self.AddPage(WordpressPage(self)) 341 self.AddUserStory(WordpressPage(self))
342 self.AddPage(FacebookPage(self)) 342 self.AddUserStory(FacebookPage(self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/top_25_smooth.py ('k') | tools/perf/page_sets/top_desktop_sites_2012Q3.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698