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
3 # found in the LICENSE file.
4 from telemetry
.page
import page
as page_module
5 from telemetry
import story
7 class Moz2Page(page_module
.Page
):
9 def __init__(self
, url
, page_set
):
10 super(Moz2Page
, self
).__init
__(url
=url
, page_set
=page_set
)
13 class Moz2PageSet(story
.StorySet
):
15 """ Description: Moz2 page_cycler benchmark """
18 super(Moz2PageSet
, self
).__init
__(
19 # pylint: disable=C0301
20 serving_dirs
=set(['../../../../data/page_cycler/moz2']),
21 cloud_storage_bucket
=story
.PARTNER_BUCKET
)
24 'file://../../../../data/page_cycler/moz2/bugzilla.mozilla.org/',
25 'file://../../../../data/page_cycler/moz2/espn.go.com/',
26 'file://../../../../data/page_cycler/moz2/home.netscape.com/',
27 'file://../../../../data/page_cycler/moz2/hotwired.lycos.com/',
28 'file://../../../../data/page_cycler/moz2/lxr.mozilla.org/',
29 'file://../../../../data/page_cycler/moz2/my.netscape.com/',
30 'file://../../../../data/page_cycler/moz2/news.cnet.com/',
31 'file://../../../../data/page_cycler/moz2/slashdot.org/',
32 'file://../../../../data/page_cycler/moz2/vanilla-page/',
33 'file://../../../../data/page_cycler/moz2/web.icq.com/',
34 'file://../../../../data/page_cycler/moz2/www.altavista.com/',
35 'file://../../../../data/page_cycler/moz2/www.amazon.com/',
36 'file://../../../../data/page_cycler/moz2/www.aol.com/',
37 'file://../../../../data/page_cycler/moz2/www.apple.com/',
38 'file://../../../../data/page_cycler/moz2/www.cnn.com/',
39 'file://../../../../data/page_cycler/moz2/www.compuserve.com/',
40 'file://../../../../data/page_cycler/moz2/www.digitalcity.com/',
41 'file://../../../../data/page_cycler/moz2/www.ebay.com/',
42 'file://../../../../data/page_cycler/moz2/www.excite.com/',
43 'file://../../../../data/page_cycler/moz2/www.expedia.com/',
44 'file://../../../../data/page_cycler/moz2/www.google.com/',
45 'file://../../../../data/page_cycler/moz2/www.iplanet.com/',
46 'file://../../../../data/page_cycler/moz2/www.mapquest.com/',
47 'file://../../../../data/page_cycler/moz2/www.microsoft.com/',
48 'file://../../../../data/page_cycler/moz2/www.moviefone.com/',
49 'file://../../../../data/page_cycler/moz2/www.msn.com/',
50 'file://../../../../data/page_cycler/moz2/www.msnbc.com/',
51 'file://../../../../data/page_cycler/moz2/www.nytimes.com/',
52 'file://../../../../data/page_cycler/moz2/www.nytimes.com_Table/',
53 'file://../../../../data/page_cycler/moz2/www.quicken.com/',
54 'file://../../../../data/page_cycler/moz2/www.spinner.com/',
55 'file://../../../../data/page_cycler/moz2/www.sun.com/',
56 'file://../../../../data/page_cycler/moz2/www.time.com/',
57 'file://../../../../data/page_cycler/moz2/www.tomshardware.com/',
58 'file://../../../../data/page_cycler/moz2/www.travelocity.com/',
59 'file://../../../../data/page_cycler/moz2/www.voodooextreme.com/',
60 'file://../../../../data/page_cycler/moz2/www.w3.org_DOML2Core/',
61 'file://../../../../data/page_cycler/moz2/www.wired.com/',
62 'file://../../../../data/page_cycler/moz2/www.yahoo.com/',
63 'file://../../../../data/page_cycler/moz2/www.zdnet.com/',
64 'file://../../../../data/page_cycler/moz2/www.zdnet.com_Gamespot.com/'
68 self
.AddStory(Moz2Page(url
, self
))