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

Side by Side Diff: tools/perf/page_sets/top_25.json

Issue 11316017: Refactoring scrolling_benchmark code into scrolling_interaction.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Trying out marja's suggestion Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "description": "Pages hand-picked for 2012 CrOS scrolling tuning efforts.", 2 "description": "Pages hand-picked for 2012 CrOS scrolling tuning efforts.",
3 "archive_path": "../data/top_25.wpr", 3 "archive_path": "../data/top_25.wpr",
4 "credentials_path": "../data/credentials.json", 4 "credentials_path": "../data/credentials.json",
5 "pages": [ 5 "pages": [
6 { 6 {
7 "url": "https://www.google.com/#hl=en&q=barack+obama", 7 "url": "https://www.google.com/#hl=en&q=barack+obama",
8 "why": "top google property; a google tab is often open" 8 "why": "top google property; a google tab is often open",
9 "scrolling": {
10 "action": "scrolling_interaction"
11 }
9 }, 12 },
10 { 13 {
11 "url": "https://mail.google.com/mail/", 14 "url": "https://mail.google.com/mail/",
12 "why": "productivity, top google properties", 15 "why": "productivity, top google properties",
13 "credentials": "google", 16 "credentials": "google",
14 "wait_for_javascript_expression": "window.gmonkey !== undefined && d ocument.getElementById('gb') !== null", 17 "wait_for_javascript_expression": "window.gmonkey !== undefined && d ocument.getElementById('gb') !== null",
15 "scrollable_element_function": "function(callback) { gmonkey.load('2 .0', function(api) { callback(api.getScrollableElement()); }); }" 18 "scrolling": {
marja 2012/11/16 12:40:33 I wonder why this code review tool shows so much w
19 "action": "scrolling_interaction",
20 "scrollable_element_function": "function(callback) { gmonkey.loa d('2.0', function(api) { callback(api.getScrollableElement()); }); }"
21 }
16 }, 22 },
17 { 23 {
18 "url": "https://www.google.com/calendar/", 24 "url": "https://www.google.com/calendar/",
19 "why": "productivity, top google properties", 25 "why": "productivity, top google properties",
20 "credentials": "google", 26 "credentials": "google",
21 "scrollable_element_function": "function(callback) { callback(docume nt.getElementById('scrolltimedeventswk')); }" 27 "scrolling": {
28 "action": "scrolling_interaction",
29 "scrollable_element_function": "function(callback) { callback(do cument.getElementById('scrolltimedeventswk')); }"
30 }
22 }, 31 },
23 { 32 {
24 "url": "https://drive.google.com", 33 "url": "https://drive.google.com",
25 "why": "productivity, top google properties", 34 "why": "productivity, top google properties",
26 "credentials": "google", 35 "credentials": "google",
27 "wait_for_javascript_expression": "document.getElementsByClassName(' doclistview-list').length", 36 "wait_for_javascript_expression": "document.getElementsByClassName(' doclistview-list').length",
28 "scrollable_element_function": "function(callback) { callback(docume nt.getElementsByClassName('doclistview-list')[0]); }" 37 "scrolling": {
38 "action": "scrolling_interaction",
39 "scrollable_element_function": "function(callback) { callback(do cument.getElementsByClassName('doclistview-list')[0]); }"
40 }
29 }, 41 },
30 { 42 {
31 "name": "Docs (1 open document tab)", 43 "name": "Docs (1 open document tab)",
32 "url": "https://docs.google.com/document/d/1X-IKNjtEnx-WW5JIKRLsyhz5 sbsat3mfTpAPUSX3_s4/view", 44 "url": "https://docs.google.com/document/d/1X-IKNjtEnx-WW5JIKRLsyhz5 sbsat3mfTpAPUSX3_s4/view",
33 "why": "productivity, top google properties; Sample doc in the link" , 45 "why": "productivity, top google properties; Sample doc in the link" ,
34 "credentials": "google", 46 "credentials": "google",
35 "wait_for_javascript_expression": "document.getElementsByClassName(' kix-appview-editor').length", 47 "wait_for_javascript_expression": "document.getElementsByClassName(' kix-appview-editor').length",
36 "scrollable_element_function": "function(callback) { callback(docume nt.getElementsByClassName('kix-appview-editor')[0]); }" 48 "scrolling": {
49 "action": "scrolling_interaction",
50 "scrollable_element_function": "function(callback) { callback(do cument.getElementsByClassName('kix-appview-editor')[0]); }"
51 }
37 }, 52 },
38 { 53 {
39 "url": "https://plus.google.com/110031535020051778989/posts", 54 "url": "https://plus.google.com/110031535020051778989/posts",
40 "why": "social; top google property; Public profile; infinite scroll s", 55 "why": "social; top google property; Public profile; infinite scroll s",
41 "scroll_is_infinite": true 56 "scrolling": {
57 "action": "scrolling_interaction",
58 "scroll_is_infinite": true
59 }
42 }, 60 },
43 { 61 {
44 "url": "http://www.youtube.com", 62 "url": "http://www.youtube.com",
45 "why": "#3 (Alexa global)" 63 "why": "#3 (Alexa global)",
64 "scrolling": {
65 "action": "scrolling_interaction"
66 }
46 }, 67 },
47 { 68 {
48 "name": "Blogger", 69 "name": "Blogger",
49 "url": "http://googlewebmastercentral.blogspot.com/", 70 "url": "http://googlewebmastercentral.blogspot.com/",
50 "why": "#11 (Alexa global), google property; some blogger layouts ha ve infinite scroll but more interesting" 71 "why": "#11 (Alexa global), google property; some blogger layouts ha ve infinite scroll but more interesting",
72 "scrolling": {
73 "action": "scrolling_interaction"
74 }
51 }, 75 },
52 { 76 {
53 "name": "Wordpress", 77 "name": "Wordpress",
54 "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-edit ors-picks-for-august-2012/", 78 "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-edit ors-picks-for-august-2012/",
55 "why": "#18 (Alexa global), Picked an interesting post" 79 "why": "#18 (Alexa global), Picked an interesting post",
80 "scrolling": {
81 "action": "scrolling_interaction"
82 }
56 }, 83 },
57 { 84 {
58 "name": "Facebook", 85 "name": "Facebook",
59 "url": "http://www.facebook.com/barackobama", 86 "url": "http://www.facebook.com/barackobama",
60 "why": "top social,Public profile", 87 "why": "top social,Public profile",
61 "credentials": "facebook", 88 "credentials": "facebook",
62 "scroll_is_infinite": true, 89 "scrolling": {
90 "action": "scrolling_interaction",
91 "scroll_is_infinite": true
92 },
63 "stress_memory": { 93 "stress_memory": {
64 "action": "compound_interaction", 94 "action": "compound_interaction",
65 "actions": [ 95 "actions": [
66 { 96 {
67 "action": "click_to_navigate_interaction", 97 "action": "click_to_navigate_interaction",
68 "selector": "a[href=\"http://www.facebook.com/WomenforOb ama\"]" 98 "selector": "a[href=\"http://www.facebook.com/WomenforOb ama\"]"
69 }, 99 },
70 { 100 {
71 "action": "click_to_navigate_interaction", 101 "action": "click_to_navigate_interaction",
72 "selector": "a[href=\"http://www.facebook.com/WomenforOb ama/info\"]" 102 "selector": "a[href=\"http://www.facebook.com/WomenforOb ama/info\"]"
73 }, 103 },
74 { 104 {
75 "action": "click_to_navigate_interaction", 105 "action": "click_to_navigate_interaction",
76 "selector": "a[href=\"http://www.facebook.com/?ref=tn_tn mn\"]" 106 "selector": "a[href=\"http://www.facebook.com/?ref=tn_tn mn\"]"
77 } 107 }
78 ] 108 ]
79 } 109 }
80 }, 110 },
81 { 111 {
82 "name": "LinkedIn", 112 "name": "LinkedIn",
83 "url": "http://www.linkedin.com/in/linustorvalds", 113 "url": "http://www.linkedin.com/in/linustorvalds",
84 "why": "#12 (Alexa global),Public profile" 114 "why": "#12 (Alexa global),Public profile",
115 "scrolling": {
116 "action": "scrolling_interaction"
117 }
85 }, 118 },
86 { 119 {
87 "name": "Wikipedia (1 tab)", 120 "name": "Wikipedia (1 tab)",
88 "url": "http://en.wikipedia.org/wiki/Wikipedia", 121 "url": "http://en.wikipedia.org/wiki/Wikipedia",
89 "why": "#6 (Alexa) most visited worldwide,Picked an interesting page " 122 "why": "#6 (Alexa) most visited worldwide,Picked an interesting page ",
123 "scrolling": {
124 "action": "scrolling_interaction"
125 }
90 }, 126 },
91 { 127 {
92 "name": "Twitter", 128 "name": "Twitter",
93 "url": "http://twitter.com/katyperry", 129 "url": "http://twitter.com/katyperry",
94 "why": "#8 (Alexa global),Picked an interesting page", 130 "why": "#8 (Alexa global),Picked an interesting page",
95 "scroll_is_infinite": true 131 "scrolling": {
132 "action": "scrolling_interaction",
133 "scroll_is_infinite": true
134 }
96 }, 135 },
97 { 136 {
98 "name": "Pinterest", 137 "name": "Pinterest",
99 "url": "http://pinterest.com", 138 "url": "http://pinterest.com",
100 "why": "#37 (Alexa global)", 139 "why": "#37 (Alexa global)",
101 "scroll_is_infinite": true 140 "scrolling": {
141 "action": "scrolling_interaction",
142 "scroll_is_infinite": true
143 }
102 }, 144 },
103 { 145 {
104 "name": "ESPN", 146 "name": "ESPN",
105 "url": "http://espn.go.com", 147 "url": "http://espn.go.com",
106 "why": "#1 sports" 148 "why": "#1 sports",
149 "scrolling": {
150 "action": "scrolling_interaction"
151 }
107 }, 152 },
108 { 153 {
109 "url": "http://news.yahoo.com", 154 "url": "http://news.yahoo.com",
110 "why": "#1 news worldwide (Alexa global)" 155 "why": "#1 news worldwide (Alexa global)",
156 "scrolling": {
157 "action": "scrolling_interaction"
158 }
111 }, 159 },
112 { 160 {
113 "url": "http://www.cnn.com", 161 "url": "http://www.cnn.com",
114 "why": "#2 news worldwide" 162 "why": "#2 news worldwide",
163 "scrolling": {
164 "action": "scrolling_interaction"
165 }
115 }, 166 },
116 { 167 {
117 "name": "Weather.com", 168 "name": "Weather.com",
118 "url": "http://www.weather.com/weather/right-now/Mountain+View+CA+94 043", 169 "url": "http://www.weather.com/weather/right-now/Mountain+View+CA+94 043",
119 "why": "#7 (Alexa news); #27 total time spent,Picked interesting pag e" 170 "why": "#7 (Alexa news); #27 total time spent,Picked interesting pag e",
171 "scrolling": {
172 "action": "scrolling_interaction"
173 }
120 }, 174 },
121 { 175 {
122 "url": "http://www.amazon.com", 176 "url": "http://www.amazon.com",
123 "why": "#1 world commerce website by visits; #3 commerce in the US b y time spent" 177 "why": "#1 world commerce website by visits; #3 commerce in the US b y time spent",
178 "scrolling": {
179 "action": "scrolling_interaction"
180 }
124 }, 181 },
125 { 182 {
126 "url": "http://www.ebay.com", 183 "url": "http://www.ebay.com",
127 "why": "#1 commerce website by time spent by users in US" 184 "why": "#1 commerce website by time spent by users in US",
185 "scrolling": {
186 "action": "scrolling_interaction"
187 }
128 }, 188 },
129 { 189 {
130 "url": "http://games.yahoo.com", 190 "url": "http://games.yahoo.com",
131 "why": "#1 games according to Alexa (with actual games in it)" 191 "why": "#1 games according to Alexa (with actual games in it)",
192 "scrolling": {
193 "action": "scrolling_interaction"
194 }
132 }, 195 },
133 { 196 {
134 "url": "http://booking.com", 197 "url": "http://booking.com",
135 "why": "#1 Alexa recreation" 198 "why": "#1 Alexa recreation",
199 "scrolling": {
200 "action": "scrolling_interaction"
201 }
136 }, 202 },
137 { 203 {
138 "url": "http://answers.yahoo.com", 204 "url": "http://answers.yahoo.com",
139 "why": "#1 Alexa reference" 205 "why": "#1 Alexa reference",
206 "scrolling": {
207 "action": "scrolling_interaction"
208 }
140 }, 209 },
141 { 210 {
142 "url": "http://sports.yahoo.com/", 211 "url": "http://sports.yahoo.com/",
143 "why": "#1 Alexa sports" 212 "why": "#1 Alexa sports",
213 "scrolling": {
214 "action": "scrolling_interaction"
215 }
144 }, 216 },
145 { 217 {
146 "url": "http://techcrunch.com", 218 "url": "http://techcrunch.com",
147 "why": "top tech blog" 219 "why": "top tech blog",
220 "scrolling": {
221 "action": "scrolling_interaction"
222 }
148 } 223 }
149 ] 224 ]
150 } 225 }
OLDNEW
« no previous file with comments | « no previous file | tools/perf/perf_tools/scrolling_benchmark.py » ('j') | tools/telemetry/telemetry/page.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698