| 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.page import shared_page_state | 5 from telemetry.page import shared_page_state |
| 6 from telemetry import story | 6 from telemetry import story |
| 7 | 7 |
| 8 | 8 |
| 9 URL_LIST = [ | 9 URL_LIST = [ |
| 10 # Why: #1 (Alexa) most visited page worldwide, picked a reasonable | 10 # Why: #1 (Alexa) most visited page worldwide, picked a reasonable |
| 11 # search term | 11 # search term |
| 12 'https://www.google.com/#hl=en&q=science', | 12 'https://www.google.ca/#hl=en&q=science', |
| 13 # Why: #2 (Alexa) most visited page worldwide, picked the most liked | 13 # Why: #2 (Alexa) most visited page worldwide, picked the most liked |
| 14 # page | 14 # page |
| 15 'https://m.facebook.com/rihanna', | 15 'https://m.facebook.com/rihanna', |
| 16 # Why: #3 (Alexa) most visited page worldwide, picked a reasonable | 16 # Why: #3 (Alexa) most visited page worldwide, picked a reasonable |
| 17 # search term | 17 # search term |
| 18 'http://m.youtube.com/results?q=science', | 18 'http://m.youtube.com/results?q=science', |
| 19 # Why: #4 (Alexa) most visited page worldwide, picked a reasonable search | 19 # Why: #4 (Alexa) most visited page worldwide, picked a reasonable search |
| 20 # term | 20 # term |
| 21 'http://search.yahoo.com/search;_ylt=?p=google', | 21 'http://search.yahoo.com/search;_ylt=?p=google', |
| 22 # Why: #5 (Alexa) most visited page worldwide, picked a reasonable search | 22 # Why: #5 (Alexa) most visited page worldwide, picked a reasonable search |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 super(Top10MobilePageSet, self).__init__(run_no_page_interactions) | 82 super(Top10MobilePageSet, self).__init__(run_no_page_interactions) |
| 83 | 83 |
| 84 | 84 |
| 85 class Top10MobileMemoryPageSet(_Top10MobilePageSet): | 85 class Top10MobileMemoryPageSet(_Top10MobilePageSet): |
| 86 """ Top 10 mobile sites for measuring memory""" | 86 """ Top 10 mobile sites for measuring memory""" |
| 87 | 87 |
| 88 def __init__(self): | 88 def __init__(self): |
| 89 super(Top10MobileMemoryPageSet, self).__init__( | 89 super(Top10MobileMemoryPageSet, self).__init__( |
| 90 run_no_page_interactions=False, collect_memory_dumps=True) | 90 run_no_page_interactions=False, collect_memory_dumps=True) |
| 91 | 91 |
| OLD | NEW |