| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
| 5 from telemetry import story | 5 from telemetry import story |
| 6 | 6 |
| 7 class Intl1Page(page_module.Page): | 7 class Intl1Page(page_module.Page): |
| 8 | 8 |
| 9 def __init__(self, url, page_set): | 9 def __init__(self, url, page_set): |
| 10 super(Intl1Page, self).__init__(url=url, page_set=page_set) | 10 super(Intl1Page, self).__init__(url=url, page_set=page_set) |
| 11 | 11 |
| 12 | 12 |
| 13 class Intl1PageSet(story.StorySet): | 13 class Intl1PageSet(story.StorySet): |
| 14 | 14 |
| 15 """ Intl1 page_cycler benchmark """ | 15 """ Intl1 page_cycler benchmark """ |
| 16 | 16 |
| 17 def __init__(self): | 17 def __init__(self): |
| 18 super(Intl1PageSet, self).__init__( | 18 super(Intl1PageSet, self).__init__( |
| 19 # pylint: disable=C0301 | 19 # pylint: disable=line-too-long |
| 20 serving_dirs=set(['../../../../data/page_cycler/intl1'])) | 20 serving_dirs=set(['../../../../data/page_cycler/intl1'])) |
| 21 | 21 |
| 22 urls_list = [ | 22 urls_list = [ |
| 23 'file://../../../../data/page_cycler/intl1/126.com/', | 23 'file://../../../../data/page_cycler/intl1/126.com/', |
| 24 'file://../../../../data/page_cycler/intl1/2ch.net/', | 24 'file://../../../../data/page_cycler/intl1/2ch.net/', |
| 25 'file://../../../../data/page_cycler/intl1/6park.com/', | 25 'file://../../../../data/page_cycler/intl1/6park.com/', |
| 26 'file://../../../../data/page_cycler/intl1/affili.net/', | 26 'file://../../../../data/page_cycler/intl1/affili.net/', |
| 27 'file://../../../../data/page_cycler/intl1/allegro.pl/', | 27 'file://../../../../data/page_cycler/intl1/allegro.pl/', |
| 28 'file://../../../../data/page_cycler/intl1/apeha.ru/', | 28 'file://../../../../data/page_cycler/intl1/apeha.ru/', |
| 29 'file://../../../../data/page_cycler/intl1/baidu.com/', | 29 'file://../../../../data/page_cycler/intl1/baidu.com/', |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 'file://../../../../data/page_cycler/intl1/www.chosun.com/', | 73 'file://../../../../data/page_cycler/intl1/www.chosun.com/', |
| 74 'file://../../../../data/page_cycler/intl1/www.danawa.com/', | 74 'file://../../../../data/page_cycler/intl1/www.danawa.com/', |
| 75 'file://../../../../data/page_cycler/intl1/www.daum.net/', | 75 'file://../../../../data/page_cycler/intl1/www.daum.net/', |
| 76 'file://../../../../data/page_cycler/intl1/www.dcinside.com/', | 76 'file://../../../../data/page_cycler/intl1/www.dcinside.com/', |
| 77 'file://../../../../data/page_cycler/intl1/www.eastmoney.com/', | 77 'file://../../../../data/page_cycler/intl1/www.eastmoney.com/', |
| 78 'file://../../../../data/page_cycler/intl1/zol.com.cn/' | 78 'file://../../../../data/page_cycler/intl1/zol.com.cn/' |
| 79 ] | 79 ] |
| 80 | 80 |
| 81 for url in urls_list: | 81 for url in urls_list: |
| 82 self.AddStory(Intl1Page(url, self)) | 82 self.AddStory(Intl1Page(url, self)) |
| OLD | NEW |