Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Side by Side Diff: tools/perf/page_sets/top_25_repaint.py

Issue 799183002: Rename AddPage -> AddUserStory in tools/perf/page_sets/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/perf/page_sets/top_10_mobile.py ('k') | tools/perf/page_sets/top_25_smooth.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
6 6
7 from page_sets import top_pages 7 from page_sets import top_pages
8 8
9 9
10 class TopRepaintPage(page_module.Page): 10 class TopRepaintPage(page_module.Page):
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 top_pages.LinkedinPage, 53 top_pages.LinkedinPage,
54 top_pages.WikipediaPage, 54 top_pages.WikipediaPage,
55 top_pages.TwitterPage, 55 top_pages.TwitterPage,
56 top_pages.PinterestPage, 56 top_pages.PinterestPage,
57 top_pages.ESPNPage, 57 top_pages.ESPNPage,
58 top_pages.WeatherPage, 58 top_pages.WeatherPage,
59 top_pages.YahooGamesPage, 59 top_pages.YahooGamesPage,
60 ] 60 ]
61 61
62 for cl in top_page_classes: 62 for cl in top_page_classes:
63 self.AddPage(_CreatePageClassWithRepaintInteractions(cl)(self)) 63 self.AddUserStory(_CreatePageClassWithRepaintInteractions(cl)(self))
64 64
65 other_urls = [ 65 other_urls = [
66 # Why: #1 news worldwide (Alexa global) 66 # Why: #1 news worldwide (Alexa global)
67 'http://news.yahoo.com', 67 'http://news.yahoo.com',
68 # Why: #2 news worldwide 68 # Why: #2 news worldwide
69 'http://www.cnn.com', 69 'http://www.cnn.com',
70 # Why: #1 world commerce website by visits; #3 commerce in the US by 70 # Why: #1 world commerce website by visits; #3 commerce in the US by
71 # time spent 71 # time spent
72 'http://www.amazon.com', 72 'http://www.amazon.com',
73 # Why: #1 commerce website by time spent by users in US 73 # Why: #1 commerce website by time spent by users in US
74 'http://www.ebay.com', 74 'http://www.ebay.com',
75 # Why: #1 Alexa recreation 75 # Why: #1 Alexa recreation
76 'http://booking.com', 76 'http://booking.com',
77 # Why: #1 Alexa reference 77 # Why: #1 Alexa reference
78 'http://answers.yahoo.com', 78 'http://answers.yahoo.com',
79 # Why: #1 Alexa sports 79 # Why: #1 Alexa sports
80 'http://sports.yahoo.com/', 80 'http://sports.yahoo.com/',
81 # Why: top tech blog 81 # Why: top tech blog
82 'http://techcrunch.com' 82 'http://techcrunch.com'
83 ] 83 ]
84 84
85 for url in other_urls: 85 for url in other_urls:
86 self.AddPage(TopRepaintPage(url, self)) 86 self.AddUserStory(TopRepaintPage(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/top_10_mobile.py ('k') | tools/perf/page_sets/top_25_smooth.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698