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

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

Issue 181483002: Telemetry: Clean up tap and click_element gestures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 | 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_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": "click_element", "text": "Next" }, 17 { "action": "javascript_click", "text": "Next" },
18 { "action": "wait", "condition": "href_change" }, 18 { "action": "wait", "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": "click_element", "text": "Next" }, 21 { "action": "javascript_click", "text": "Next" },
22 { "action": "wait", "condition": "href_change" }, 22 { "action": "wait", "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": "click_element", "text": "Next" }, 25 { "action": "javascript_click", "text": "Next" },
26 { "action": "wait", "condition": "href_change" }, 26 { "action": "wait", "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": "click_element", "text": "Previous" }, 29 { "action": "javascript_click", "text": "Previous" },
30 { "action": "wait", "condition": "href_change" }, 30 { "action": "wait", "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": "click_element", "text": "Previous" }, 33 { "action": "javascript_click", "text": "Previous" },
34 { "action": "wait", "condition": "href_change" }, 34 { "action": "wait", "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": "click_element", "text": "Previous" }, 37 { "action": "javascript_click", "text": "Previous" },
38 { "action": "wait", "condition": "href_change" }, 38 { "action": "wait", "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": "click_element", "text": "Images" }, 41 { "action": "javascript_click", "text": "Images" },
42 { "action": "wait", "condition": "href_change" }, 42 { "action": "wait", "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": "click_element", "selector": "a[href=\"https://mail.google.c om/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 { "action": "wait", "condition": "href_change" },
61 { "action": "click_element", "selector": "a[href=\"https://mail.google.c om/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 { "action": "wait", "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\"]" },
73 { "action": "javascript", "expression": "(function() { var elem = docume nt.createElement('meta');elem.name='viewport';elem.content='initial-scale=1';doc ument.body.appendChild(elem); })();" } 73 { "action": "javascript", "expression": "(function() { var elem = docume nt.createElement('meta');elem.name='viewport';elem.content='initial-scale=1';doc ument.body.appendChild(elem); })();" }
74 ], 74 ],
75 "smoothness": { 75 "smoothness": {
76 "action": "scroll", 76 "action": "scroll",
77 "scrollable_element_function": "function(callback) { callback(document.g etElementById('scrolltimedeventswk')); }" 77 "scrollable_element_function": "function(callback) { callback(document.g etElementById('scrolltimedeventswk')); }"
78 }, 78 },
79 "stress_memory": [ 79 "stress_memory": [
80 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, 80 { "action": "javascript_click", "selector": "div[class~=\"navForward\"]" },
81 { "action": "wait", "seconds": 2 }, 81 { "action": "wait", "seconds": 2 },
82 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vForward\"]" }, 82 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vForward\"]" },
83 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, 83 { "action": "javascript_click", "selector": "div[class~=\"navForward\"]" },
84 { "action": "wait", "seconds": 2 }, 84 { "action": "wait", "seconds": 2 },
85 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vForward\"]" }, 85 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vForward\"]" },
86 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, 86 { "action": "javascript_click", "selector": "div[class~=\"navForward\"]" },
87 { "action": "wait", "seconds": 2 }, 87 { "action": "wait", "seconds": 2 },
88 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vForward\"]" }, 88 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vForward\"]" },
89 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, 89 { "action": "javascript_click", "selector": "div[class~=\"navForward\"]" },
90 { "action": "wait", "seconds": 2 }, 90 { "action": "wait", "seconds": 2 },
91 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vBack\"]" }, 91 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vBack\"]" },
92 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, 92 { "action": "javascript_click", "selector": "div[class~=\"navBack\"]" },
93 { "action": "wait", "seconds": 2 }, 93 { "action": "wait", "seconds": 2 },
94 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vBack\"]" }, 94 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vBack\"]" },
95 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, 95 { "action": "javascript_click", "selector": "div[class~=\"navBack\"]" },
96 { "action": "wait", "seconds": 2 }, 96 { "action": "wait", "seconds": 2 },
97 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vBack\"]" }, 97 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vBack\"]" },
98 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, 98 { "action": "javascript_click", "selector": "div[class~=\"navBack\"]" },
99 { "action": "wait", "seconds": 2 }, 99 { "action": "wait", "seconds": 2 },
100 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vBack\"]" }, 100 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vBack\"]" },
101 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, 101 { "action": "javascript_click", "selector": "div[class~=\"navBack\"]" },
102 { "action": "wait", "seconds": 2 }, 102 { "action": "wait", "seconds": 2 },
103 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vBack\"]" } 103 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vBack\"]" }
104 ] 104 ]
105 }, 105 },
106 { 106 {
107 "url": "https://www.google.com/search?q=cats&tbm=isch", 107 "url": "https://www.google.com/search?q=cats&tbm=isch",
108 "why": "tough image case; top google properties", 108 "why": "tough image case; top google properties",
109 "credentials": "google" 109 "credentials": "google"
110 }, 110 },
111 { 111 {
(...skipping 17 matching lines...) Expand all
129 "credentials": "google", 129 "credentials": "google",
130 "navigate_steps" : [ 130 "navigate_steps" : [
131 { "action": "navigate" }, 131 { "action": "navigate" },
132 { "action": "wait", "condition": "element", "text": "Home" } 132 { "action": "wait", "condition": "element", "text": "Home" }
133 ], 133 ],
134 "smoothness": { 134 "smoothness": {
135 "action": "scroll", 135 "action": "scroll",
136 "scroll_is_infinite": true 136 "scroll_is_infinite": true
137 }, 137 },
138 "stress_memory": [ 138 "stress_memory": [
139 { "action": "click_element", "text": "Home" }, 139 { "action": "javascript_click", "text": "Home" },
140 { "action": "wait", "seconds": 2 }, 140 { "action": "wait", "seconds": 2 },
141 { "action": "wait", "condition": "element", "text": "Profile" }, 141 { "action": "wait", "condition": "element", "text": "Profile" },
142 { "action": "click_element", "text": "Profile" }, 142 { "action": "javascript_click", "text": "Profile" },
143 { "action": "wait", "seconds": 2 }, 143 { "action": "wait", "seconds": 2 },
144 { "action": "wait", "condition": "element", "text": "Explore" }, 144 { "action": "wait", "condition": "element", "text": "Explore" },
145 { "action": "click_element", "text": "Explore" }, 145 { "action": "javascript_click", "text": "Explore" },
146 { "action": "wait", "seconds": 2 }, 146 { "action": "wait", "seconds": 2 },
147 { "action": "wait", "condition": "element", "text": "Events" }, 147 { "action": "wait", "condition": "element", "text": "Events" },
148 { "action": "click_element", "text": "Events" }, 148 { "action": "javascript_click", "text": "Events" },
149 { "action": "wait", "seconds": 2 }, 149 { "action": "wait", "seconds": 2 },
150 { "action": "wait", "condition": "element", "text": "Communities" }, 150 { "action": "wait", "condition": "element", "text": "Communities" },
151 { "action": "click_element", "text": "Communities" }, 151 { "action": "javascript_click", "text": "Communities" },
152 { "action": "wait", "seconds": 2 }, 152 { "action": "wait", "seconds": 2 },
153 { "action": "wait", "condition": "element", "text": "Home" } 153 { "action": "wait", "condition": "element", "text": "Home" }
154 ] 154 ]
155 }, 155 },
156 { 156 {
157 "url": "http://www.youtube.com", 157 "url": "http://www.youtube.com",
158 "why": "#3 (Alexa global)", 158 "why": "#3 (Alexa global)",
159 "navigate_steps" : [ 159 "navigate_steps" : [
160 { "action": "navigate" }, 160 { "action": "navigate" },
161 { "action": "wait", "seconds": 2 } 161 { "action": "wait", "seconds": 2 }
162 ], 162 ],
163 "credentials": "google" 163 "credentials": "google"
164 }, 164 },
165 { 165 {
166 "name": "Blogger", 166 "name": "Blogger",
167 "url": "http://googlewebmastercentral.blogspot.com/", 167 "url": "http://googlewebmastercentral.blogspot.com/",
168 "why": "#11 (Alexa global), google property; some blogger layouts have inf inite scroll but more interesting", 168 "why": "#11 (Alexa global), google property; some blogger layouts have inf inite scroll but more interesting",
169 "navigate_steps" : [ 169 "navigate_steps" : [
170 { "action": "navigate" }, 170 { "action": "navigate" },
171 { "action": "wait", "condition": "element", "text": "accessibility" } 171 { "action": "wait", "condition": "element", "text": "accessibility" }
172 ], 172 ],
173 "stress_memory": [ 173 "stress_memory": [
174 { "action": "click_element", "text": "accessibility" }, 174 { "action": "javascript_click", "text": "accessibility" },
175 { "action": "wait", "condition": "navigate" }, 175 { "action": "wait", "condition": "navigate" },
176 { "action": "scroll" }, 176 { "action": "scroll" },
177 { "action": "click_element", "text": "advanced" }, 177 { "action": "javascript_click", "text": "advanced" },
178 { "action": "wait", "condition": "navigate" }, 178 { "action": "wait", "condition": "navigate" },
179 { "action": "scroll" }, 179 { "action": "scroll" },
180 { "action": "click_element", "text": "beginner" }, 180 { "action": "javascript_click", "text": "beginner" },
181 { "action": "wait", "condition": "navigate" }, 181 { "action": "wait", "condition": "navigate" },
182 { "action": "scroll" }, 182 { "action": "scroll" },
183 { "action": "click_element", "text": "Home" }, 183 { "action": "javascript_click", "text": "Home" },
184 { "action": "wait", "condition": "navigate" } 184 { "action": "wait", "condition": "navigate" }
185 ] 185 ]
186 }, 186 },
187 { 187 {
188 "name": "Wordpress", 188 "name": "Wordpress",
189 "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-pi cks-for-august-2012/", 189 "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-pi cks-for-august-2012/",
190 "why": "#18 (Alexa global), Picked an interesting post", 190 "why": "#18 (Alexa global), Picked an interesting post",
191 "navigate_steps" : [ 191 "navigate_steps" : [
192 { "action": "navigate" }, 192 { "action": "navigate" },
193 { "action": "wait", "condition": "element", "selector": "a[href=\"http:/ /en.blog.wordpress.com/2012/08/30/new-themes-able-and-sight/\"]" } 193 { "action": "wait", "condition": "element", "selector": "a[href=\"http:/ /en.blog.wordpress.com/2012/08/30/new-themes-able-and-sight/\"]" }
194 ], 194 ],
195 "stress_memory": [ 195 "stress_memory": [
196 { "action": "scroll" }, 196 { "action": "scroll" },
197 { "action": "click_element", "selector": "a[href=\"http://en.blog.wordpr ess.com/2012/08/30/new-themes-able-and-sight/\"]" }, 197 { "action": "javascript_click", "selector": "a[href=\"http://en.blog.wor dpress.com/2012/08/30/new-themes-able-and-sight/\"]" },
198 { "action": "wait", "condition": "navigate" }, 198 { "action": "wait", "condition": "navigate" },
199 { "action": "scroll" }, 199 { "action": "scroll" },
200 { "action": "click_element", "text": "Features" }, 200 { "action": "javascript_click", "text": "Features" },
201 { "action": "wait", "condition": "navigate" }, 201 { "action": "wait", "condition": "navigate" },
202 { "action": "scroll" }, 202 { "action": "scroll" },
203 { "action": "click_element", "text": "News" }, 203 { "action": "javascript_click", "text": "News" },
204 { "action": "wait", "condition": "navigate" }, 204 { "action": "wait", "condition": "navigate" },
205 { "action": "scroll" } 205 { "action": "scroll" }
206 ] 206 ]
207 }, 207 },
208 { 208 {
209 "name": "Facebook", 209 "name": "Facebook",
210 "url": "http://www.facebook.com/barackobama", 210 "url": "http://www.facebook.com/barackobama",
211 "why": "top social,Public profile", 211 "why": "top social,Public profile",
212 "credentials": "facebook", 212 "credentials": "facebook",
213 "navigate_steps" : [ 213 "navigate_steps" : [
214 { "action": "navigate" }, 214 { "action": "navigate" },
215 { "action": "wait", "condition": "element", "text": "About" } 215 { "action": "wait", "condition": "element", "text": "About" }
216 ], 216 ],
217 "smoothness": { 217 "smoothness": {
218 "action": "scroll", 218 "action": "scroll",
219 "scroll_is_infinite": true 219 "scroll_is_infinite": true
220 }, 220 },
221 "stress_memory": [ 221 "stress_memory": [
222 { "action": "click_element", "text": "About" }, 222 { "action": "javascript_click", "text": "About" },
223 { "action": "wait", "condition": "navigate" }, 223 { "action": "wait", "condition": "navigate" },
224 { "action": "click_element", "text": "The Audacity of Hope" }, 224 { "action": "javascript_click", "text": "The Audacity of Hope" },
225 { "action": "wait", "condition": "navigate" }, 225 { "action": "wait", "condition": "navigate" },
226 { "action": "click_element", "text": "Back to Barack Obama's Timeline" } , 226 { "action": "javascript_click", "text": "Back to Barack Obama's Timeline " },
227 { "action": "wait", "condition": "navigate" }, 227 { "action": "wait", "condition": "navigate" },
228 { "action": "click_element", "text": "About" }, 228 { "action": "javascript_click", "text": "About" },
229 { "action": "wait", "condition": "navigate" }, 229 { "action": "wait", "condition": "navigate" },
230 { "action": "click_element", "text": "Elected to U.S. Senate" }, 230 { "action": "javascript_click", "text": "Elected to U.S. Senate" },
231 { "action": "wait", "condition": "navigate" }, 231 { "action": "wait", "condition": "navigate" },
232 { "action": "click_element", "text": "Home" }, 232 { "action": "javascript_click", "text": "Home" },
233 { "action": "wait", "condition": "navigate" } 233 { "action": "wait", "condition": "navigate" }
234 ] 234 ]
235 }, 235 },
236 { 236 {
237 "name": "LinkedIn", 237 "name": "LinkedIn",
238 "url": "http://www.linkedin.com/in/linustorvalds", 238 "url": "http://www.linkedin.com/in/linustorvalds",
239 "why": "#12 (Alexa global),Public profile" 239 "why": "#12 (Alexa global),Public profile"
240 }, 240 },
241 { 241 {
242 "name": "Wikipedia (1 tab)", 242 "name": "Wikipedia (1 tab)",
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 { 314 {
315 "url": "http://sports.yahoo.com/", 315 "url": "http://sports.yahoo.com/",
316 "why": "#1 Alexa sports" 316 "why": "#1 Alexa sports"
317 }, 317 },
318 { 318 {
319 "url": "http://techcrunch.com", 319 "url": "http://techcrunch.com",
320 "why": "top tech blog" 320 "why": "top tech blog"
321 } 321 }
322 ] 322 ]
323 } 323 }
OLDNEW
« no previous file with comments | « tools/perf/page_sets/plus_alt_posts_photos.json ('k') | tools/telemetry/telemetry/page/actions/click_element.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698