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

Side by Side Diff: tools/perf/page_sets/page_cycler/moz.py

Issue 1458083003: [Telemetry + tools/perf] Modify the pylint disable message to use symbolic name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/page_sets/page_cycler/morejsnp.py ('k') | tools/perf/page_sets/page_cycler/moz2.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 import story 5 from telemetry import story
6 6
7 class MozPage(page_module.Page): 7 class MozPage(page_module.Page):
8 8
9 def __init__(self, url, page_set): 9 def __init__(self, url, page_set):
10 super(MozPage, self).__init__(url=url, page_set=page_set) 10 super(MozPage, self).__init__(url=url, page_set=page_set)
11 11
12 12
13 class MozPageSet(story.StorySet): 13 class MozPageSet(story.StorySet):
14 14
15 """ Moz page_cycler benchmark """ 15 """ Moz page_cycler benchmark """
16 16
17 def __init__(self): 17 def __init__(self):
18 super(MozPageSet, self).__init__( 18 super(MozPageSet, self).__init__(
19 # pylint: disable=C0301 19 # pylint: disable=line-too-long
20 serving_dirs=set(['../../../../data/page_cycler/moz']), 20 serving_dirs=set(['../../../../data/page_cycler/moz']),
21 cloud_storage_bucket=story.PARTNER_BUCKET) 21 cloud_storage_bucket=story.PARTNER_BUCKET)
22 22
23 urls_list = [ 23 urls_list = [
24 'file://../../../../data/page_cycler/moz/bugzilla.mozilla.org/', 24 'file://../../../../data/page_cycler/moz/bugzilla.mozilla.org/',
25 'file://../../../../data/page_cycler/moz/espn.go.com/', 25 'file://../../../../data/page_cycler/moz/espn.go.com/',
26 'file://../../../../data/page_cycler/moz/home.netscape.com/', 26 'file://../../../../data/page_cycler/moz/home.netscape.com/',
27 'file://../../../../data/page_cycler/moz/hotwired.lycos.com/', 27 'file://../../../../data/page_cycler/moz/hotwired.lycos.com/',
28 'file://../../../../data/page_cycler/moz/lxr.mozilla.org/', 28 'file://../../../../data/page_cycler/moz/lxr.mozilla.org/',
29 'file://../../../../data/page_cycler/moz/my.netscape.com/', 29 'file://../../../../data/page_cycler/moz/my.netscape.com/',
(...skipping 29 matching lines...) Expand all
59 'file://../../../../data/page_cycler/moz/www.voodooextreme.com/', 59 'file://../../../../data/page_cycler/moz/www.voodooextreme.com/',
60 'file://../../../../data/page_cycler/moz/www.w3.org_DOML2Core/', 60 'file://../../../../data/page_cycler/moz/www.w3.org_DOML2Core/',
61 'file://../../../../data/page_cycler/moz/www.wired.com/', 61 'file://../../../../data/page_cycler/moz/www.wired.com/',
62 'file://../../../../data/page_cycler/moz/www.yahoo.com/', 62 'file://../../../../data/page_cycler/moz/www.yahoo.com/',
63 'file://../../../../data/page_cycler/moz/www.zdnet.com/', 63 'file://../../../../data/page_cycler/moz/www.zdnet.com/',
64 'file://../../../../data/page_cycler/moz/www.zdnet.com_Gamespot.com/' 64 'file://../../../../data/page_cycler/moz/www.zdnet.com_Gamespot.com/'
65 ] 65 ]
66 66
67 for url in urls_list: 67 for url in urls_list:
68 self.AddStory(MozPage(url, self)) 68 self.AddStory(MozPage(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/page_cycler/morejsnp.py ('k') | tools/perf/page_sets/page_cycler/moz2.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698