[refactor] More post-NSS WebCrypto cleanups (utility functions).
[chromium-blink-merge.git] / tools / perf / page_sets / page_cycler / alexa_us.py
blob4af3bfd249b88d7eec3150629f640992a2fea3ea
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
8 class AlexaUsPage(page_module.Page):
10 def __init__(self, url, page_set):
11 super(AlexaUsPage, self).__init__(url=url, page_set=page_set)
14 class AlexaUsPageSet(story.StorySet):
16 """ Alexa US page_cycler benchmark """
18 def __init__(self):
19 super(AlexaUsPageSet, self).__init__(
20 # pylint: disable=C0301
21 serving_dirs=set(['../../../../data/page_cycler/alexa_us']))
23 urls_list = [
24 # pylint: disable=C0301
25 'file://../../../../data/page_cycler/alexa_us/accountservices.passport.net/',
26 'file://../../../../data/page_cycler/alexa_us/sfbay.craigslist.org/',
27 'file://../../../../data/page_cycler/alexa_us/www.amazon.com/',
28 'file://../../../../data/page_cycler/alexa_us/www.aol.com/',
29 'file://../../../../data/page_cycler/alexa_us/www.bbc.co.uk/',
30 'file://../../../../data/page_cycler/alexa_us/www.blogger.com/',
31 'file://../../../../data/page_cycler/alexa_us/www.cnn.com/',
32 'file://../../../../data/page_cycler/alexa_us/www.ebay.com/',
33 'file://../../../../data/page_cycler/alexa_us/www.flickr.com/',
34 'file://../../../../data/page_cycler/alexa_us/www.friendster.com/',
35 'file://../../../../data/page_cycler/alexa_us/www.go.com/',
36 'file://../../../../data/page_cycler/alexa_us/www.google.com/',
37 'file://../../../../data/page_cycler/alexa_us/www.imdb.com/',
38 'file://../../../../data/page_cycler/alexa_us/www.megaupload.com/',
39 'file://../../../../data/page_cycler/alexa_us/www.msn.com/',
40 'file://../../../../data/page_cycler/alexa_us/www.myspace.com/',
41 'file://../../../../data/page_cycler/alexa_us/www.orkut.com/',
42 'file://../../../../data/page_cycler/alexa_us/www.wikipedia.org/',
43 'file://../../../../data/page_cycler/alexa_us/www.xanga.com/',
44 'file://../../../../data/page_cycler/alexa_us/www.youtube.com/'
47 for url in urls_list:
48 self.AddStory(AlexaUsPage(url, self))