1 { 2 "description": "Mobile sites with interesting memory characteristics", 3 "archive_data_file": "data/mobile_memory.json", 4 "credentials_path": "data/credentials.json", 5 "user_agent_type": "mobile", 6 "pages": [ 7 { 8 "url": "https://mail.google.com/mail/mu", 9 "credentials": "google", 10 "reload_and_gc": [ 11 {"action": "reload" }, 12 {"action": "wait", "seconds": 15 }, 13 {"action": "js_collect_garbage" } 14 ], 15 "stress_memory": { "action": "reload_and_gc", "repeat": 3 } 16 }, 17 { 18 "url": "https://www.google.com/search?site=&tbm=isch&q=google", 19 "why": "Tests usage of discardable memory", 20 "stress_memory": [ 21 { "action": "scroll" }, 22 { "action": "wait", "seconds": 3 }, 23 { "action": "scroll" }, 24 { "action": "wait", "seconds": 3 }, 25 { "action": "scroll" }, 26 { "action": "wait", "seconds": 3 }, 27 { "action": "scroll" }, 28 { "action": "wait", "javascript": "document.getElementById('rg_s').childElementCount > 300" } 29 ] 30 } 31 ] 32 } 33