| OLD | NEW | 
|---|
|  | (Empty) | 
| 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 |  | 
| 6 |  | 
| 7 |  | 
| 8 class AlexaUsPage(page_module.Page): |  | 
| 9 |  | 
| 10   def __init__(self, url, page_set): |  | 
| 11     super(AlexaUsPage, self).__init__(url=url, page_set=page_set) |  | 
| 12 |  | 
| 13 |  | 
| 14 class AlexaUsPageSet(story.StorySet): |  | 
| 15 |  | 
| 16   """ Alexa US page_cycler benchmark  """ |  | 
| 17 |  | 
| 18   def __init__(self): |  | 
| 19     super(AlexaUsPageSet, self).__init__( |  | 
| 20       # pylint: disable=line-too-long |  | 
| 21       serving_dirs=set(['../../../../data/page_cycler/alexa_us'])) |  | 
| 22 |  | 
| 23     urls_list = [ |  | 
| 24       # pylint: disable=line-too-long |  | 
| 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/' |  | 
| 45     ] |  | 
| 46 |  | 
| 47     for url in urls_list: |  | 
| 48       self.AddStory(AlexaUsPage(url, self)) |  | 
| OLD | NEW | 
|---|