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 MorejsnpPage(page_module
.Page
):
9 def __init__(self
, url
, page_set
):
10 super(MorejsnpPage
, self
).__init
__(url
=url
, page_set
=page_set
)
13 class MorejsnpPageSet(story
.StorySet
):
15 """ Morejsnp page_cycler benchmark """
18 super(MorejsnpPageSet
, self
).__init
__(
19 # pylint: disable=C0301
20 serving_dirs
=set(['../../../../data/page_cycler/morejsnp']),
21 cloud_storage_bucket
=story
.PARTNER_BUCKET
)
24 'file://../../../../data/page_cycler/morejsnp/blog.chromium.org/',
25 'file://../../../../data/page_cycler/morejsnp/dev.chromium.org/',
26 # pylint: disable=C0301
27 'file://../../../../data/page_cycler/morejsnp/googleblog.blogspot.com1/',
28 # pylint: disable=C0301
29 'file://../../../../data/page_cycler/morejsnp/googleblog.blogspot.com2/',
30 'file://../../../../data/page_cycler/morejsnp/test.blogspot.com/',
31 'file://../../../../data/page_cycler/morejsnp/www.igoogle.com/',
32 'file://../../../../data/page_cycler/morejsnp/www.techcrunch.com/',
33 'file://../../../../data/page_cycler/morejsnp/www.webkit.org/',
34 'file://../../../../data/page_cycler/morejsnp/www.yahoo.com/'
38 self
.AddStory(MorejsnpPage(url
, self
))