OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 | 7 |
8 class V8Top25(page_module.Page): | 8 class V8Top25(page_module.Page): |
9 | 9 |
10 def __init__(self, url, page_set, name=''): | 10 def __init__(self, url, page_set, name=''): |
(...skipping 23 matching lines...) Expand all Loading... |
34 'http://www.twitter.com/taylorswift13', | 34 'http://www.twitter.com/taylorswift13', |
35 'http://www.reddit.com', | 35 'http://www.reddit.com', |
36 'http://www.ebay.fr/sch/i.html?_nkw=v8', | 36 'http://www.ebay.fr/sch/i.html?_nkw=v8', |
37 'http://edition.cnn.com', | 37 'http://edition.cnn.com', |
38 'http://world.taobao.com', | 38 'http://world.taobao.com', |
39 'http://www.instagram.com/archdigest', | 39 'http://www.instagram.com/archdigest', |
40 'https://www.linkedin.com/m/', | 40 'https://www.linkedin.com/m/', |
41 'http://www.msn.com/ar-ae', | 41 'http://www.msn.com/ar-ae', |
42 'http://www.bing.com/search?q=v8+engine', | 42 'http://www.bing.com/search?q=v8+engine', |
43 'http://www.pinterest.com/categories/popular', | 43 'http://www.pinterest.com/categories/popular', |
44 'http://www.sina.com.cn', | 44 # 'http://www.sina.com.cn', http://crbug.com/699579 |
45 'http://weibo.com', | 45 'http://weibo.com', |
46 'http://yandex.ru/search/?text=v8', | 46 'http://yandex.ru/search/?text=v8', |
47 'http://www.wikiwand.com/en/hill', | 47 'http://www.wikiwand.com/en/hill', |
48 'http://meta.discourse.org', | 48 'http://meta.discourse.org', |
49 'http://reddit.musicplayer.io', | 49 'http://reddit.musicplayer.io', |
50 'http://inbox.google.com', | 50 'http://inbox.google.com', |
51 'http://maps.google.co.jp/maps/search/restaurant+tokyo', | 51 'http://maps.google.co.jp/maps/search/restaurant+tokyo', |
52 'https://adwords.google.com', | 52 'https://adwords.google.com', |
53 'http://pollouer.muc/Speedometer/CustomRunner.html?angular', | 53 'http://pollouer.muc/Speedometer/CustomRunner.html?angular', |
54 'http://pollouer.muc/Speedometer/CustomRunner.html?jquery', | 54 'http://pollouer.muc/Speedometer/CustomRunner.html?jquery', |
55 'http://pollouer.muc/Speedometer/CustomRunner.html?backbone', | 55 'http://pollouer.muc/Speedometer/CustomRunner.html?backbone', |
56 'http://pollouer.muc/Speedometer/CustomRunner.html?ember', | 56 'http://pollouer.muc/Speedometer/CustomRunner.html?ember', |
57 'http://pollouer.muc/Speedometer/CustomRunner.html?vanilla', | 57 'http://pollouer.muc/Speedometer/CustomRunner.html?vanilla', |
58 'https://cdn.ampproject.org/c/www.bbc.co.uk/news/amp/37344292#log=3', | 58 'https://cdn.ampproject.org/c/www.bbc.co.uk/news/amp/37344292#log=3', |
59 ] | 59 ] |
60 | 60 |
61 | 61 |
62 class V8Top25StorySet(story.StorySet): | 62 class V8Top25StorySet(story.StorySet): |
63 """~25 of top pages, used for v8 testing. They represent popular websites as | 63 """~25 of top pages, used for v8 testing. They represent popular websites as |
64 well as other pages the V8 team wants to track due to their unique | 64 well as other pages the V8 team wants to track due to their unique |
65 characteristics.""" | 65 characteristics.""" |
66 | 66 |
67 def __init__(self): | 67 def __init__(self): |
68 super(V8Top25StorySet, self).__init__( | 68 super(V8Top25StorySet, self).__init__( |
69 archive_data_file='data/v8_top_25.json', | 69 archive_data_file='data/v8_top_25.json', |
70 cloud_storage_bucket=story.INTERNAL_BUCKET) | 70 cloud_storage_bucket=story.INTERNAL_BUCKET) |
71 | 71 |
72 for url in urls_list: | 72 for url in urls_list: |
73 self.AddStory(V8Top25(url, self)) | 73 self.AddStory(V8Top25(url, self)) |
OLD | NEW |