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 | 4 |
5 import shutil | 5 import shutil |
6 | 6 |
7 from profile_creators import profile_generator | 7 from profile_creators import profile_generator |
8 from telemetry.page import page as page_module | 8 from telemetry.page import page as page_module |
9 from telemetry.page import cache_temperature as cache_temperature_module | 9 from telemetry.page import cache_temperature as cache_temperature_module |
10 from telemetry.page import shared_page_state | 10 from telemetry.page import shared_page_state |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 urls_list = [ | 73 urls_list = [ |
74 # Why: Alexa games #48 | 74 # Why: Alexa games #48 |
75 'http://www.nick.com/games', | 75 'http://www.nick.com/games', |
76 # Why: Alexa sports #45 | 76 # Why: Alexa sports #45 |
77 'http://www.rei.com/', | 77 'http://www.rei.com/', |
78 # Why: Alexa sports #50 | 78 # Why: Alexa sports #50 |
79 'http://www.fifa.com/', | 79 'http://www.fifa.com/', |
80 # Why: Alexa shopping #41 | 80 # Why: Alexa shopping #41 |
81 'http://www.gamestop.com/ps3', | 81 'http://www.gamestop.com/ps3', |
82 # Why: Alexa shopping #25 | |
83 'http://www.barnesandnoble.com/u/books-bestselling-books/379003057/', | |
84 # Why: Alexa news #55 | 82 # Why: Alexa news #55 |
85 ('http://www.economist.com/news/science-and-technology/21573529-small-' | 83 ('http://www.economist.com/news/science-and-technology/21573529-small-' |
86 'models-cosmic-phenomena-are-shedding-light-real-thing-how-build'), | 84 'models-cosmic-phenomena-are-shedding-light-real-thing-how-build'), |
87 # Why: Alexa news #67 | 85 # Why: Alexa news #67 |
88 'http://www.theonion.com', | 86 'http://www.theonion.com', |
89 'http://arstechnica.com/', | 87 'http://arstechnica.com/', |
90 # Why: Alexa home #10 | 88 # Why: Alexa home #10 |
91 'http://allrecipes.com/Recipe/Pull-Apart-Hot-Cross-Buns/Detail.aspx', | 89 'http://allrecipes.com/Recipe/Pull-Apart-Hot-Cross-Buns/Detail.aspx', |
92 'http://www.html5rocks.com/en/', | 90 'http://www.html5rocks.com/en/', |
93 'http://www.mlb.com/', | 91 'http://www.mlb.com/', |
(...skipping 13 matching lines...) Expand all Loading... |
107 'http://www.airbnb.com/', | 105 'http://www.airbnb.com/', |
108 'http://www.ign.com/', | 106 'http://www.ign.com/', |
109 # Why: Alexa health #25 | 107 # Why: Alexa health #25 |
110 'http://www.fda.gov', | 108 'http://www.fda.gov', |
111 ] | 109 ] |
112 | 110 |
113 for url in urls_list: | 111 for url in urls_list: |
114 for temp in cache_temperatures: | 112 for temp in cache_temperatures: |
115 self.AddStory(page_class( | 113 self.AddStory(page_class( |
116 url, self, run_no_page_interactions, cache_temperature=temp)) | 114 url, self, run_no_page_interactions, cache_temperature=temp)) |
OLD | NEW |