| { |
| "description": "Mobile sites with interesting memory characteristics", |
| "archive_data_file": "data/mobile_memory.json", |
| "credentials_path": "data/credentials.json", |
| "user_agent_type": "mobile", |
| "pages": [ |
| { |
| "url": "https://mail.google.com/mail/mu", |
| "credentials": "google", |
| "reload_and_gc": [ |
| {"action": "reload" }, |
| {"action": "wait", "seconds": 15 }, |
| {"action": "js_collect_garbage" } |
| ], |
| "stress_memory": { "action": "reload_and_gc", "repeat": 3 } |
| }, |
| { |
| "url": "https://www.google.com/search?site=&tbm=isch&q=google", |
| "why": "Tests usage of discardable memory", |
| "stress_memory": [ |
| { "action": "scroll" }, |
| { "action": "wait", "seconds": 3 }, |
| { "action": "scroll" }, |
| { "action": "wait", "seconds": 3 }, |
| { "action": "scroll" }, |
| { "action": "wait", "seconds": 3 }, |
| { "action": "scroll" }, |
| { "action": "wait", "javascript": "document.body.scrollHeight > 6000" } |
| ] |
| } |
| ] |
| } |