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 # pylint: disable=W0401,W0614 5 from telemetry.page.actions.all_page_actions import * 6 from telemetry.page import page as page_module 7 from telemetry.page import page_set as page_set_module 8 9 class Intl1Page(page_module.Page): 10 11 def __init__(self, url, page_set): 12 super(Intl1Page, self).__init__(url=url, page_set=page_set) 13 14 15 class Intl1PageSet(page_set_module.PageSet): 16 17 """ Intl1 page_cycler benchmark """ 18 19 def __init__(self): 20 super(Intl1PageSet, self).__init__( 21 # pylint: disable=C0301 22 serving_dirs=set(['../../../../data/page_cycler/intl1'])) 23 24 urls_list = [ 25 'file://../../../../data/page_cycler/intl1/126.com/', 26 'file://../../../../data/page_cycler/intl1/2ch.net/', 27 'file://../../../../data/page_cycler/intl1/6park.com/', 28 'file://../../../../data/page_cycler/intl1/affili.net/', 29 'file://../../../../data/page_cycler/intl1/allegro.pl/', 30 'file://../../../../data/page_cycler/intl1/apeha.ru/', 31 'file://../../../../data/page_cycler/intl1/baidu.com/', 32 'file://../../../../data/page_cycler/intl1/bbs.wefong.com/', 33 'file://../../../../data/page_cycler/intl1/blog.skyrock.com/', 34 'file://../../../../data/page_cycler/intl1/cmfu.com/', 35 'file://../../../../data/page_cycler/intl1/cn.yahoo.com/', 36 'file://../../../../data/page_cycler/intl1/contra.gr/', 37 'file://../../../../data/page_cycler/intl1/dtiblog.com/', 38 'file://../../../../data/page_cycler/intl1/el.wikipedia.org/', 39 'file://../../../../data/page_cycler/intl1/elmundo.es/', 40 'file://../../../../data/page_cycler/intl1/ettoday.com/', 41 'file://../../../../data/page_cycler/intl1/exblog.jp/', 42 'file://../../../../data/page_cycler/intl1/excite.co.jp/', 43 'file://../../../../data/page_cycler/intl1/fc2.com/', 44 'file://../../../../data/page_cycler/intl1/fora.pl/', 45 'file://../../../../data/page_cycler/intl1/free.fr/', 46 'file://../../../../data/page_cycler/intl1/golem.de/', 47 'file://../../../../data/page_cycler/intl1/goo.ne.jp/', 48 'file://../../../../data/page_cycler/intl1/haberturk.com/', 49 'file://../../../../data/page_cycler/intl1/hatena.ne.jp/', 50 'file://../../../../data/page_cycler/intl1/home.altervista.org/', 51 'file://../../../../data/page_cycler/intl1/hurriyet.com.tr/', 52 'file://../../../../data/page_cycler/intl1/jugem.jp/', 53 'file://../../../../data/page_cycler/intl1/kakaku.com/', 54 'file://../../../../data/page_cycler/intl1/mixi.jp/', 55 'file://../../../../data/page_cycler/intl1/naftemporiki.gr/', 56 'file://../../../../data/page_cycler/intl1/narod.yandex.ru/', 57 'file://../../../../data/page_cycler/intl1/news.163.com/', 58 'file://../../../../data/page_cycler/intl1/partyflock.nl/', 59 'file://../../../../data/page_cycler/intl1/pchome.com.tw/', 60 'file://../../../../data/page_cycler/intl1/phoenixtv.com/', 61 'file://../../../../data/page_cycler/intl1/photofile.ru/', 62 'file://../../../../data/page_cycler/intl1/pl.wikipedia.org/', 63 'file://../../../../data/page_cycler/intl1/ricardo.ch/', 64 'file://../../../../data/page_cycler/intl1/ru.wikipedia.org/', 65 'file://../../../../data/page_cycler/intl1/ruten.com.tw/', 66 'file://../../../../data/page_cycler/intl1/sport24.gr/', 67 'file://../../../../data/page_cycler/intl1/terra.es/', 68 'file://../../../../data/page_cycler/intl1/udn.com/', 69 'file://../../../../data/page_cycler/intl1/uwants.com/', 70 'file://../../../../data/page_cycler/intl1/voila.fr/', 71 'file://../../../../data/page_cycler/intl1/www.alice.it/', 72 'file://../../../../data/page_cycler/intl1/www.amazon.co.jp/', 73 'file://../../../../data/page_cycler/intl1/www.auction.co.kr/', 74 'file://../../../../data/page_cycler/intl1/www.chinaren.com/', 75 'file://../../../../data/page_cycler/intl1/www.chosun.com/', 76 'file://../../../../data/page_cycler/intl1/www.danawa.com/', 77 'file://../../../../data/page_cycler/intl1/www.daum.net/', 78 'file://../../../../data/page_cycler/intl1/www.dcinside.com/', 79 'file://../../../../data/page_cycler/intl1/www.eastmoney.com/', 80 'file://../../../../data/page_cycler/intl1/zol.com.cn/' 81 ] 82 83 for url in urls_list: 84 self.AddPage(Intl1Page(url, self)) 85