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

Side by Side Diff: tools/skp/page_sets/skia_facebook_desktop.py

Issue 671513009: Update webpages_playback script and all page_sets to use new skpicture_printer benchmark (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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/skp/page_sets/skia_espn_desktop.py ('k') | tools/skp/page_sets/skia_fontwipe_desktop.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 # pylint: disable=W0401,W0614 4 # pylint: disable=W0401,W0614
5 5
6 6
7 from telemetry.page import page as page_module 7 from telemetry.page import page as page_module
8 from telemetry.page import page_set as page_set_module 8 from telemetry.page import page_set as page_set_module
9 9
10 10
(...skipping 10 matching lines...) Expand all
21 self.credentials = 'facebook' 21 self.credentials = 'facebook'
22 22
23 def RunSmoothness(self, action_runner): 23 def RunSmoothness(self, action_runner):
24 action_runner.ScrollElement() 24 action_runner.ScrollElement()
25 25
26 def RunNavigateSteps(self, action_runner): 26 def RunNavigateSteps(self, action_runner):
27 action_runner.NavigateToPage(self) 27 action_runner.NavigateToPage(self)
28 action_runner.Wait(5) 28 action_runner.Wait(5)
29 29
30 30
31 class SkiaBuildbotPageSet(page_set_module.PageSet): 31 class FacebookDesktopPageSet(page_set_module.PageSet):
32 32
33 """ Pages designed to represent the median, not highly optimized web """ 33 """ Pages designed to represent the median, not highly optimized web """
34 34
35 def __init__(self): 35 def __init__(self):
36 super(SkiaBuildbotPageSet, self).__init__( 36 super(FacebookDesktopPageSet, self).__init__(
37 user_agent_type='desktop', 37 user_agent_type='desktop',
38 archive_data_file='data/skia_facebook_desktop.json') 38 archive_data_file='data/skia_facebook_desktop.json')
39 39
40 urls_list = [ 40 urls_list = [
41 # Why: Top social, public profile. 41 # Why: Top social, public profile.
42 'http://www.facebook.com/barackobama', 42 'http://www.facebook.com/barackobama',
43 ] 43 ]
44 44
45 for url in urls_list: 45 for url in urls_list:
46 self.AddPage(SkiaBuildbotDesktopPage(url, self)) 46 self.AddPage(SkiaBuildbotDesktopPage(url, self))
OLDNEW
« no previous file with comments | « tools/skp/page_sets/skia_espn_desktop.py ('k') | tools/skp/page_sets/skia_fontwipe_desktop.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698