Mobile Usability Engineering 101Delay User Reaction< 1s Feels Instant1 - 3s App is working3s+ Mental context switch10s+ Ill come back later ...Breaking the 1s mobile barrier : http://bit.ly/mobile-barrier
App Instrumenta-on Mobile Infrastructure Mobile Automa-on 3 Essential Steps for Building a Performance Lab
• WebDriver is the standard for browser automationo Extensively used for functional testingo Libraries in almost every languageo W3C working draft• Plain functional test, nothing specialo Device Drivero iOS – iWebDriver, iOS Drivero Android - AndroidDriver, ChromeDriverMobile Web Automation• Dont reinvent the wheel !
Stress /longevity testing-Apple script to generate memory warnings <git repo>-UI Automation script to continuously go over all the mostused scenarios-Monkey script <git repo>Stress/longevity testingSimulator longevity tests withsynthetic memory warnings usingapple scriptMonkey Script! It goes berserk onyour UI!Repeated user scenarios test onphysical device
Do Things Early or Late!• Early:o Important elemento Viewpoint contento Start actions early• Late:o Async cleanup
Preloading LoginFool your browser for faster speed.
Mobile Lab EvolutionWhat the heckis mobileperformance?Can I try withstop clock?Haha, I havecustominstrumentation.I am buildingan automatedmobile lab.Automatedeverything, offto get a BEER !
Takeaways• Mobile Performance is hard, but exciting• Decide what and how to measure your apps• Consider the app stability• Set up automation, get rid of stopclock
Future Series• Building a Performance Lab for Mobile Apps in a Dayo Tutorial Session at Velocity New York, 3:30pm Oct 14o http://velocityconf.com/velocityny2013/public/schedule/detail/30135• Dont Let Me Wait: Client-side Optimizationo Workshop Session at Grace Hopper Conference, 5:15pm Oct 3o http://gracehopper.org/2013/schedule-at-a-glance/10-3/