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