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

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

Issue 130433003: Extend silk benchmark of navigation drawer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
« no previous file with comments | « no previous file | tools/perf/page_sets/key_silk_cases/inbox_app.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "description": "Pages hand-picked for project Silk.", 2 "description": "Pages hand-picked for project Silk.",
3 "archive_data_file": "data/key_silk_cases.json", 3 "archive_data_file": "data/key_silk_cases.json",
4 "credentials_path": "data/credentials.json", 4 "credentials_path": "data/credentials.json",
5 "user_agent_type": "mobile", 5 "user_agent_type": "mobile",
6 "smoothness": { "action": "scroll" }, 6 "smoothness": { "action": "scroll" },
7 "navigate_steps" : [ 7 "navigate_steps" : [
8 { "action": "navigate" }, 8 { "action": "navigate" },
9 { "action": "wait", "seconds": 2 } 9 { "action": "wait", "seconds": 2 }
10 ], 10 ],
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 }, 129 },
130 { 130 {
131 "url": "file://key_silk_cases/rectangle_transition.html", 131 "url": "file://key_silk_cases/rectangle_transition.html",
132 "smoothness": { "action": "wait", "seconds": 5 } 132 "smoothness": { "action": "wait", "seconds": 5 }
133 }, 133 },
134 { 134 {
135 "url": "file://key_silk_cases/font_wipe.html", 135 "url": "file://key_silk_cases/font_wipe.html",
136 "smoothness": { "action": "wait", "seconds": 5 } 136 "smoothness": { "action": "wait", "seconds": 5 }
137 }, 137 },
138 { 138 {
139 "url": "file://key_silk_cases/inbox_app.html", 139 "url": "file://key_silk_cases/inbox_app.html?toggle_drawer",
140 "navigate_steps" : [ 140 "navigate_steps" : [
141 { "action": "navigate" }, 141 { "action": "navigate" },
142 { "action": "wait", "seconds": 2 } 142 { "action": "wait", "seconds": 2 }
143 ],
144 "smoothness": {
145 "action": "toggle_drawer",
146 "repeat": 6
147 },
148 "toggle_drawer": [
149 {
150 "action": "click_element",
151 "selector": "#menu-button"
152 },
153 { "action": "wait", "seconds": 1 }
154 ]
155 },
156 {
157 "url": "file://key_silk_cases/inbox_app.html?slide_drawer",
158 "navigate_steps" : [
159 { "action": "navigate" },
160 { "action": "wait", "seconds": 2 }
143 ], 161 ],
144 "smoothness": { 162 "smoothness": {
145 "action": "slide_drawer" 163 "action": "slide_drawer"
146 }, 164 },
147 "slide_drawer": [ 165 "slide_drawer": [
148 { 166 {
149 "action": "swipe", 167 "action": "swipe",
150 "element_function": "function(callback) { callback(document.getElement ById('nav-drawer')); }", 168 "element_function": "function(callback) { callback(document.getElement ById('nav-drawer')); }",
151 "distance": 200, 169 "distance": 200,
152 "direction": "left", 170 "direction": "left",
153 "left_start_percentage": 0.8, 171 "left_start_percentage": 0.8,
154 "top_start_percentage": 0.2, 172 "top_start_percentage": 0.2,
155 "wait_after": { 173 "wait_after": {
156 "javascript": "!document.getElementById('nav-drawer').active" 174 "javascript": "!document.getElementById('nav-drawer').active"
157 } 175 }
158 } 176 }
159 ] 177 ]
160 } 178 }
161 ] 179 ]
162 } 180 }
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/key_silk_cases/inbox_app.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698