Chromium Code Reviews| Index: tools/perf/page_sets/system_health/loading_stories.py |
| diff --git a/tools/perf/page_sets/system_health/loading_stories.py b/tools/perf/page_sets/system_health/loading_stories.py |
| index f3ab950d6bcff18cdc81910a676a3992f380800f..4d3e2a0d43ba73931ce3e27700a4c1c0f328b062 100644 |
| --- a/tools/perf/page_sets/system_health/loading_stories.py |
| +++ b/tools/perf/page_sets/system_health/loading_stories.py |
| @@ -39,7 +39,7 @@ class LoadYahooStory(_LoadingStory): |
| URL = 'https://search.yahoo.com/search;_ylt=?p=google' |
| -class LoadAmazonStory(_LoadingStory): |
| +class LoadAmazonDesktopStory(_LoadingStory): |
| NAME = 'load:search:amazon' |
| URL = 'https://www.amazon.com/s/?field-keywords=nexus' |
| @@ -71,6 +71,20 @@ class LoadEbayStory(_LoadingStory): |
| URL = 'https://www.ebay.com/sch/i.html?_nkw=headphones' |
| +class LoadAvitoStory(_LoadingStory): |
| + NAME = 'load:shopping:avito' |
|
perezju
2017/04/10 10:13:56
As suggested on the doc, I propose *not* to add lo
ssid
2017/04/11 03:55:57
Done.
|
| + URL = 'https://m.avito.ru/rossiya' |
| + SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY |
| + TAGS = [story_tags.EMERGING_MARKET] |
| + |
| + |
| +class LoadOLXStory(_LoadingStory): |
| + NAME = 'load:shopping:olx' |
| + URL = 'http://m.olx.co.id' |
| + SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY |
| + TAGS = [story_tags.EMERGING_MARKET] |
| + |
| + |
| ################################################################################ |
| # Social networks. |
| ################################################################################ |
| @@ -139,9 +153,10 @@ class LoadFlipboardStory(_LoadingStory): |
| URL = 'https://flipboard.com/explore' |
| -class LoadHackerNewsStory(_LoadingStory): |
| +class LoadHackerNewsDesktopStory(_LoadingStory): |
| NAME = 'load:news:hackernews' |
| URL = 'https://news.ycombinator.com' |
| + SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY |
|
perezju
2017/04/10 10:13:56
I thought you were not going to remove stories now
ssid
2017/04/11 03:55:57
Sorry, this was error.
|
| class LoadNytimesDesktopStory(_LoadingStory): |
| @@ -208,6 +223,35 @@ class LoadWashingtonPostMobileStory(_LoadingStory): |
| class LoadWikipediaStory(_LoadingStory): |
| NAME = 'load:news:wikipedia' |
| URL = 'https://en.wikipedia.org/wiki/Science' |
| + TAGS = [story_tags.EMERGING_MARKET] |
| + |
| + |
| +class LoadCricBuzzStory(_LoadingStory): |
| + NAME = 'load:news:cricbuzz' |
|
perezju
2017/04/10 10:13:56
Similarly, do not add more load news stories.
But
ssid
2017/04/11 03:55:57
I do not know how else i can add these stories. I
|
| + URL = 'http://m.cricbuzz.com' |
| + SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY |
| + TAGS = [story_tags.EMERGING_MARKET] |
| + |
| + |
| +class LoadIrctcStory(_LoadingStory): |
| + NAME = 'load:news:irctc' |
| + URL = 'https://www.irctc.co.in' |
| + SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY |
| + TAGS = [story_tags.EMERGING_MARKET] |
| + |
| + |
| +class LoadGloboStory(_LoadingStory): |
| + NAME = 'load:news:globo' |
| + URL = 'http://www.globo.com/' |
| + SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY |
| + TAGS = [story_tags.EMERGING_MARKET] |
| + |
| + |
| +class LoadPolymerStory(_LoadingStory): |
| + NAME = 'load:news:polymer' |
| + URL = 'https://polymer-news.appspot.com/' |
| + SUPPORTED_PLATFORMS = platforms.MOBILE_ONLY |
| + TAGS = [story_tags.EMERGING_MARKET] |
| ################################################################################ |
| @@ -331,11 +375,6 @@ class LoadGmailMobileStory(_LoadGmailBaseStory): |
| action_runner.WaitForJavaScriptCondition( |
| 'document.getElementById("apploadingdiv").style.height === "0px"') |
| -class LoadMapsStory(_LoadingStory): |
| - NAME = 'load:tools:maps' |
| - URL = 'https://www.google.com/maps/place/London,+UK/' |
| - |
| - |
| class LoadStackOverflowStory(_LoadingStory): |
| NAME = 'load:tools:stackoverflow' |
| URL = ( |