Fix OOP <webview> resize and autosize.
[chromium-blink-merge.git] / tools / perf / page_sets / page_cycler / morejsnp.py
blob8de80f7eddc1c2b466220ca94704cbb1cdcdf33c
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 """
17 def __init__(self):
18 super(MorejsnpPageSet, self).__init__(
19 # pylint: disable=C0301
20 serving_dirs=set(['../../../../data/page_cycler/morejsnp']),
21 cloud_storage_bucket=story.PARTNER_BUCKET)
23 urls_list = [
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/'
37 for url in urls_list:
38 self.AddStory(MorejsnpPage(url, self))