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

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

Issue 321863003: Adding cloud permission buckets to pages sets that are part of crbug.com/374764 or already in cloud… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 6 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/page_cycler/moz.py ('k') | tools/perf/page_sets/plus_alt_posts_photos.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 from telemetry.page.actions.all_page_actions import * 5 from telemetry.page.actions.all_page_actions import *
6 from telemetry.page import page as page_module 6 from telemetry.page import page as page_module
7 from telemetry.page import page_set as page_set_module 7 from telemetry.page import page_set as page_set_module
8 8
9 class Moz2Page(page_module.Page): 9 class Moz2Page(page_module.Page):
10 10
11 def __init__(self, url, page_set): 11 def __init__(self, url, page_set):
12 super(Moz2Page, self).__init__(url=url, page_set=page_set) 12 super(Moz2Page, self).__init__(url=url, page_set=page_set)
13 13
14 14
15 class Moz2PageSet(page_set_module.PageSet): 15 class Moz2PageSet(page_set_module.PageSet):
16 16
17 """ Description: Moz2 page_cycler benchmark """ 17 """ Description: Moz2 page_cycler benchmark """
18 18
19 def __init__(self): 19 def __init__(self):
20 super(Moz2PageSet, self).__init__( 20 super(Moz2PageSet, self).__init__(
21 # pylint: disable=C0301 21 # pylint: disable=C0301
22 serving_dirs=set(['../../../../data/page_cycler/moz2'])) 22 serving_dirs=set(['../../../../data/page_cycler/moz2']),
23 bucket=page_set_module.PARTNER_BUCKET)
23 24
24 urls_list = [ 25 urls_list = [
25 'file://../../../../data/page_cycler/moz2/bugzilla.mozilla.org/', 26 'file://../../../../data/page_cycler/moz2/bugzilla.mozilla.org/',
26 'file://../../../../data/page_cycler/moz2/espn.go.com/', 27 'file://../../../../data/page_cycler/moz2/espn.go.com/',
27 'file://../../../../data/page_cycler/moz2/home.netscape.com/', 28 'file://../../../../data/page_cycler/moz2/home.netscape.com/',
28 'file://../../../../data/page_cycler/moz2/hotwired.lycos.com/', 29 'file://../../../../data/page_cycler/moz2/hotwired.lycos.com/',
29 'file://../../../../data/page_cycler/moz2/lxr.mozilla.org/', 30 'file://../../../../data/page_cycler/moz2/lxr.mozilla.org/',
30 'file://../../../../data/page_cycler/moz2/my.netscape.com/', 31 'file://../../../../data/page_cycler/moz2/my.netscape.com/',
31 'file://../../../../data/page_cycler/moz2/news.cnet.com/', 32 'file://../../../../data/page_cycler/moz2/news.cnet.com/',
32 'file://../../../../data/page_cycler/moz2/slashdot.org/', 33 'file://../../../../data/page_cycler/moz2/slashdot.org/',
(...skipping 27 matching lines...) Expand all
60 'file://../../../../data/page_cycler/moz2/www.voodooextreme.com/', 61 'file://../../../../data/page_cycler/moz2/www.voodooextreme.com/',
61 'file://../../../../data/page_cycler/moz2/www.w3.org_DOML2Core/', 62 'file://../../../../data/page_cycler/moz2/www.w3.org_DOML2Core/',
62 'file://../../../../data/page_cycler/moz2/www.wired.com/', 63 'file://../../../../data/page_cycler/moz2/www.wired.com/',
63 'file://../../../../data/page_cycler/moz2/www.yahoo.com/', 64 'file://../../../../data/page_cycler/moz2/www.yahoo.com/',
64 'file://../../../../data/page_cycler/moz2/www.zdnet.com/', 65 'file://../../../../data/page_cycler/moz2/www.zdnet.com/',
65 'file://../../../../data/page_cycler/moz2/www.zdnet.com_Gamespot.com/' 66 'file://../../../../data/page_cycler/moz2/www.zdnet.com_Gamespot.com/'
66 ] 67 ]
67 68
68 for url in urls_list: 69 for url in urls_list:
69 self.AddPage(Moz2Page(url, self)) 70 self.AddPage(Moz2Page(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/page_cycler/moz.py ('k') | tools/perf/page_sets/plus_alt_posts_photos.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698