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

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

Issue 186593007: Remove href_change and navigate from wait action (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 months 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
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_data_file": "data/top_25.json", 3 "archive_data_file": "data/top_25.json",
4 "credentials_path": "data/credentials.json", 4 "credentials_path": "data/credentials.json",
5 "user_agent_type": "desktop", 5 "user_agent_type": "desktop",
6 "smoothness": { "action": "scroll" }, 6 "smoothness": { "action": "scroll" },
7 "pages": [ 7 "pages": [
8 { 8 {
9 "url": "https://www.google.com/#hl=en&q=barack+obama", 9 "url": "https://www.google.com/#hl=en&q=barack+obama",
10 "why": "top google property; a google tab is often open", 10 "why": "top google property; a google tab is often open",
11 "navigate_steps" : [ 11 "navigate_steps" : [
12 { "action": "navigate" }, 12 { "action": "navigate" },
13 { "action": "wait", "condition": "element", "text": "Next" } 13 { "action": "wait", "condition": "element", "text": "Next" }
14 ], 14 ],
15 "stress_memory": [ 15 "stress_memory": [
16 { "action": "scroll" }, 16 { "action": "scroll" },
17 { "action": "javascript_click", "text": "Next" }, 17 { "action": "javascript_click", "text": "Next",
18 { "action": "wait", "condition": "href_change" }, 18 "wait_until" : {"condition": "href_change" }},
19 { "action": "wait", "condition": "element", "text": "Next" }, 19 { "action": "wait", "condition": "element", "text": "Next" },
20 { "action": "scroll" }, 20 { "action": "scroll" },
21 { "action": "javascript_click", "text": "Next" }, 21 { "action": "javascript_click", "text": "Next",
22 { "action": "wait", "condition": "href_change" }, 22 "wait_until" : {"condition": "href_change" }},
23 { "action": "wait", "condition": "element", "text": "Next" }, 23 { "action": "wait", "condition": "element", "text": "Next" },
24 { "action": "scroll" }, 24 { "action": "scroll" },
25 { "action": "javascript_click", "text": "Next" }, 25 { "action": "javascript_click", "text": "Next",
26 { "action": "wait", "condition": "href_change" }, 26 "wait_until" : {"condition": "href_change" }},
27 { "action": "wait", "condition": "element", "text": "Previous" }, 27 { "action": "wait", "condition": "element", "text": "Previous" },
28 { "action": "scroll" }, 28 { "action": "scroll" },
29 { "action": "javascript_click", "text": "Previous" }, 29 { "action": "javascript_click", "text": "Previous",
30 { "action": "wait", "condition": "href_change" }, 30 "wait_until" : {"condition": "href_change" }},
31 { "action": "wait", "condition": "element", "text": "Previous" }, 31 { "action": "wait", "condition": "element", "text": "Previous" },
32 { "action": "scroll" }, 32 { "action": "scroll" },
33 { "action": "javascript_click", "text": "Previous" }, 33 { "action": "javascript_click", "text": "Previous",
34 { "action": "wait", "condition": "href_change" }, 34 "wait_until" : {"condition": "href_change" }},
35 { "action": "wait", "condition": "element", "text": "Previous" }, 35 { "action": "wait", "condition": "element", "text": "Previous" },
36 { "action": "scroll" }, 36 { "action": "scroll" },
37 { "action": "javascript_click", "text": "Previous" }, 37 { "action": "javascript_click", "text": "Previous",
38 { "action": "wait", "condition": "href_change" }, 38 "wait_until" : {"condition": "href_change" }},
39 { "action": "wait", "condition": "element", "text": "Images" }, 39 { "action": "wait", "condition": "element", "text": "Images" },
40 { "action": "scroll" }, 40 { "action": "scroll" },
41 { "action": "javascript_click", "text": "Images" }, 41 { "action": "javascript_click", "text": "Images",
42 { "action": "wait", "condition": "href_change" }, 42 "wait_until" : {"condition": "href_change" }},
43 { "action": "wait", "condition": "element", "text": "Images" } 43 { "action": "wait", "condition": "element", "text": "Images" }
44 ] 44 ]
45 }, 45 },
46 { 46 {
47 "url": "https://mail.google.com/mail/", 47 "url": "https://mail.google.com/mail/",
48 "why": "productivity, top google properties", 48 "why": "productivity, top google properties",
49 "credentials": "google", 49 "credentials": "google",
50 "navigate_steps" : [ 50 "navigate_steps" : [
51 { "action": "navigate" }, 51 { "action": "navigate" },
52 { "action": "wait", "javascript": "window.gmonkey !== undefined && docum ent.getElementById('gb') !== null" } 52 { "action": "wait", "javascript": "window.gmonkey !== undefined && docum ent.getElementById('gb') !== null" }
53 ], 53 ],
54 "smoothness": { 54 "smoothness": {
55 "action": "scroll", 55 "action": "scroll",
56 "scrollable_element_function": "function(callback) { gmonkey.load('2.0', function(api) { callback(api.getScrollableElement()); }); }" 56 "scrollable_element_function": "function(callback) { gmonkey.load('2.0', function(api) { callback(api.getScrollableElement()); }); }"
57 }, 57 },
58 "stress_memory": [ 58 "stress_memory": [
59 { "action": "javascript_click", "selector": "a[href=\"https://mail.googl e.com/mail/u/0/?shva=1#starred\"]" }, 59 { "action": "javascript_click", "selector": "a[href=\"https://mail.googl e.com/mail/u/0/?shva=1#starred\"]",
60 { "action": "wait", "condition": "href_change" }, 60 "wait_until" : {"condition": "href_change" }},
61 { "action": "javascript_click", "selector": "a[href=\"https://mail.googl e.com/mail/u/0/?shva=1#inbox\"]" }, 61 { "action": "javascript_click", "selector": "a[href=\"https://mail.googl e.com/mail/u/0/?shva=1#inbox\"]",
62 { "action": "wait", "condition": "href_change" } 62 "wait_until" : {"condition": "href_change" }}
63 ] 63 ]
64 }, 64 },
65 { 65 {
66 "url": "https://www.google.com/calendar/", 66 "url": "https://www.google.com/calendar/",
67 "why": "productivity, top google properties", 67 "why": "productivity, top google properties",
68 "credentials": "google", 68 "credentials": "google",
69 "navigate_steps" : [ 69 "navigate_steps" : [
70 { "action": "navigate" }, 70 { "action": "navigate" },
71 { "action": "wait", "seconds": 2 }, 71 { "action": "wait", "seconds": 2 },
72 { "action": "wait", "condition": "element", "selector": "div[class~=\"n avForward\"]" }, 72 { "action": "wait", "condition": "element", "selector": "div[class~=\"n avForward\"]" },
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 }, 165 },
166 { 166 {
167 "name": "Blogger", 167 "name": "Blogger",
168 "url": "http://googlewebmastercentral.blogspot.com/", 168 "url": "http://googlewebmastercentral.blogspot.com/",
169 "why": "#11 (Alexa global), google property; some blogger layouts have inf inite scroll but more interesting", 169 "why": "#11 (Alexa global), google property; some blogger layouts have inf inite scroll but more interesting",
170 "navigate_steps" : [ 170 "navigate_steps" : [
171 { "action": "navigate" }, 171 { "action": "navigate" },
172 { "action": "wait", "condition": "element", "text": "accessibility" } 172 { "action": "wait", "condition": "element", "text": "accessibility" }
173 ], 173 ],
174 "stress_memory": [ 174 "stress_memory": [
175 { "action": "javascript_click", "text": "accessibility" }, 175 { "action": "javascript_click", "text": "accessibility",
176 { "action": "wait", "condition": "navigate" }, 176 "wait_until" : {"condition": "navigate" }},
177 { "action": "scroll" }, 177 { "action": "scroll" },
178 { "action": "javascript_click", "text": "advanced" }, 178 { "action": "javascript_click", "text": "advanced",
179 { "action": "wait", "condition": "navigate" }, 179 "wait_until" : {"condition": "navigate" }},
180 { "action": "scroll" }, 180 { "action": "scroll" },
181 { "action": "javascript_click", "text": "beginner" }, 181 { "action": "javascript_click", "text": "beginner",
182 { "action": "wait", "condition": "navigate" }, 182 "wait_until" : {"condition": "navigate" }},
183 { "action": "scroll" }, 183 { "action": "scroll" },
184 { "action": "javascript_click", "text": "Home" }, 184 { "action": "javascript_click", "text": "Home",
185 { "action": "wait", "condition": "navigate" } 185 "wait_until" : {"condition": "navigate" }}
186 ] 186 ]
187 }, 187 },
188 { 188 {
189 "name": "Wordpress", 189 "name": "Wordpress",
190 "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-pi cks-for-august-2012/", 190 "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-pi cks-for-august-2012/",
191 "why": "#18 (Alexa global), Picked an interesting post", 191 "why": "#18 (Alexa global), Picked an interesting post",
192 "navigate_steps" : [ 192 "navigate_steps" : [
193 { "action": "navigate" }, 193 { "action": "navigate" },
194 { "action": "wait", "condition": "element", "selector": "a[href=\"http:/ /en.blog.wordpress.com/2012/08/30/new-themes-able-and-sight/\"]" } 194 { "action": "wait", "condition": "element", "selector": "a[href=\"http:/ /en.blog.wordpress.com/2012/08/30/new-themes-able-and-sight/\"]" }
195 ], 195 ],
196 "stress_memory": [ 196 "stress_memory": [
197 { "action": "scroll" }, 197 { "action": "scroll" },
198 { "action": "javascript_click", "selector": "a[href=\"http://en.blog.wor dpress.com/2012/08/30/new-themes-able-and-sight/\"]" }, 198 { "action": "javascript_click", "selector": "a[href=\"http://en.blog.wor dpress.com/2012/08/30/new-themes-able-and-sight/\"]",
199 { "action": "wait", "condition": "navigate" }, 199 "wait_until" : { "condition": "navigate" }},
200 { "action": "scroll" }, 200 { "action": "scroll" },
201 { "action": "javascript_click", "text": "Features" }, 201 { "action": "javascript_click", "text": "Features",
202 { "action": "wait", "condition": "navigate" }, 202 "wait_until" : { "condition": "navigate" }},
203 { "action": "scroll" }, 203 { "action": "scroll" },
204 { "action": "javascript_click", "text": "News" }, 204 { "action": "javascript_click", "text": "News",
205 { "action": "wait", "condition": "navigate" }, 205 "wait_until" : { "condition": "navigate" }},
206 { "action": "scroll" } 206 { "action": "scroll" }
207 ] 207 ]
208 }, 208 },
209 { 209 {
210 "name": "Facebook", 210 "name": "Facebook",
211 "url": "http://www.facebook.com/barackobama", 211 "url": "http://www.facebook.com/barackobama",
212 "why": "top social,Public profile", 212 "why": "top social,Public profile",
213 "credentials": "facebook", 213 "credentials": "facebook",
214 "navigate_steps" : [ 214 "navigate_steps" : [
215 { "action": "navigate" }, 215 { "action": "navigate" },
216 { "action": "wait", "condition": "element", "text": "About" } 216 { "action": "wait", "condition": "element", "text": "About" }
217 ], 217 ],
218 "smoothness": { 218 "smoothness": {
219 "action": "scroll", 219 "action": "scroll",
220 "scroll_is_infinite": true 220 "scroll_is_infinite": true
221 }, 221 },
222 "stress_memory": [ 222 "stress_memory": [
223 { "action": "javascript_click", "text": "About" }, 223 { "action": "javascript_click", "text": "About",
224 { "action": "wait", "condition": "navigate" }, 224 "wait_until" : { "condition": "navigate" }},
225 { "action": "javascript_click", "text": "The Audacity of Hope" }, 225 { "action": "javascript_click", "text": "The Audacity of Hope",
226 { "action": "wait", "condition": "navigate" }, 226 "wait_until" : { "condition": "navigate" }},
227 { "action": "javascript_click", "text": "Back to Barack Obama's Timeline " }, 227 { "action": "javascript_click", "text": "Back to Barack Obama's Timeline ",
228 { "action": "wait", "condition": "navigate" }, 228 "wait_until" : { "condition": "navigate" }},
229 { "action": "javascript_click", "text": "About" }, 229 { "action": "javascript_click", "text": "About",
230 { "action": "wait", "condition": "navigate" }, 230 "wait_until" : { "condition": "navigate" }},
231 { "action": "javascript_click", "text": "Elected to U.S. Senate" }, 231 { "action": "javascript_click", "text": "Elected to U.S. Senate",
232 { "action": "wait", "condition": "navigate" }, 232 "wait_until" : { "condition": "navigate" }},
233 { "action": "javascript_click", "text": "Home" }, 233 { "action": "javascript_click", "text": "Home",
234 { "action": "wait", "condition": "navigate" } 234 "wait_until" : { "condition": "navigate" }}
235 ] 235 ]
236 }, 236 },
237 { 237 {
238 "name": "LinkedIn", 238 "name": "LinkedIn",
239 "url": "http://www.linkedin.com/in/linustorvalds", 239 "url": "http://www.linkedin.com/in/linustorvalds",
240 "why": "#12 (Alexa global),Public profile" 240 "why": "#12 (Alexa global),Public profile"
241 }, 241 },
242 { 242 {
243 "name": "Wikipedia (1 tab)", 243 "name": "Wikipedia (1 tab)",
244 "url": "http://en.wikipedia.org/wiki/Wikipedia", 244 "url": "http://en.wikipedia.org/wiki/Wikipedia",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 { 315 {
316 "url": "http://sports.yahoo.com/", 316 "url": "http://sports.yahoo.com/",
317 "why": "#1 Alexa sports" 317 "why": "#1 Alexa sports"
318 }, 318 },
319 { 319 {
320 "url": "http://techcrunch.com", 320 "url": "http://techcrunch.com",
321 "why": "top tech blog" 321 "why": "top tech blog"
322 } 322 }
323 ] 323 ]
324 } 324 }
OLDNEW
« no previous file with comments | « tools/perf/page_sets/gmail_alt_two_labels.json ('k') | tools/telemetry/telemetry/page/actions/gesture_action.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698