testing the mobile application s performance testing the
play

Testing the Mobile Application's Performance Testing the Mobile - PowerPoint PPT Presentation

Testing the Mobile Application's Performance Testing the Mobile Application's Performance Case Study on Communicator Mobile Case Study on Communicator Mobile Rama Krishna Pagadala Rama Krishna Pagadala Microsoft Corporation Microsoft


  1. Testing the Mobile Application's Performance Testing the Mobile Application's Performance Case Study on Communicator Mobile Case Study on Communicator Mobile Rama Krishna Pagadala Rama Krishna Pagadala Microsoft Corporation Microsoft Corporation

  2. Agenda • Performance Metrics for Mobile Applications • Communicator Mobile 2007 R2 • Product Performance Strategy • Performance Testing Strategy • Architectural improvements • Takeaways from this case study

  3. Performance Time - UI Response Time • Metrics (Mobile) Users tend to be less patient – Very demanding –

  4. User: “Download is too slow!” How can we make the download faster ? “ Operational Management” Better compression, faster connection, Most compelling and tangible, smaller file size, etc. but expensive How can we make the download appear faster? Provide progress indication, diversion, “ Perception management”. Inexpensive, effective for etc. mainstream usage context How can the download be more tolerable ? Offer completion notification, provide “ Tolerance management”. Best remedy when perception “emergency exits”, etc. is rigid. Inexpensive Designing and Engineering Time by Steven C. Seow

  5. Performance Battery – critical • Metrics Drains non-linear • Mitigations • Minimize the radio wakeups – System events instead of polling –

  6. Cell Radio (Data)

  7. Performance Network Bandwidth • Metrics Low speed networks – Pay-per-use ($) – Roaming ($$$) – Impacts • Time – User Experience – Battery –

  8. Performance Metrics (no Virtual) Memory & CPU • Device sluggishness  Responsiveness – Application crashes –

  9. Performance Metrics Binary size (footprint) • Application load time – RAM usage – Download/Install time –

  10. Communicator Mobile 2007 R2 • Communications application for enterprise users • Always-on • Completes UC* story and complements other UC endpoints • Contacts, Presence, Work calls, Conferencing, Search, … • Windows marketplace *Microsoft Unified Communications

  11. Product Strategy • Customer feedback for CoMo 2007 • Other communication apps • Personas • 3 Power Users • Performance goals • Ex: Login < 10 seconds • Design for Performance

  12. User Profiles • Testing Baseline/Email Power User Strategy –

  13. User Profiles • Testing Communicator Mobile Power User Strategy –

  14. Testing Scenarios • Strategy End-to-End scenarios (User centric) – Script – Specific scenarios (Dev/Test teams) –

  15. 3 rd party Tools • Testing Strategy PowerMon (device level) – GPRSMon (network/application level) – In house Tools • NetMon (network level) – Memory/CPU (per process) –

  16. Testing Strategy Test Execution • Daily/Weekly? – Manual vs. Automated? – Test configuration: PocketPC vs. SmartPhone? 3G vs. – Edge?, … Debugging • Is hard – Inconsistent issues – Logging impacts the performance – Standard variation –

  17. Testing Reporting • Strategy Weekly report (Email) – Trends, charts – Automated results (daily) – Product team analysis –

  18. Test Matrix • Wide array of devices • Carriers • Networks - 2.5/Edge/3G • Cellular Data vs. WiFi • Platform intricacies (WM 6.x power management)

  19. Architectural improvements • Poll vs. Push – Presence updates – Contacts in view • Collapse Contact Groups – improves sign-In time! • Piggy back the data – Keep-alives with Presence updates – ActiveSync (Email/Calendar)

  20. Takeaways • Performance is key to mobile application's adoption – Think/Design/Test early on – Set clear goals for select-few targeted users • Performance testing is challenging on mobile platforms – Metrics are inter dependent – Tools, variety of platforms, … – Usage patterns are quite different – +/- 10-20% Variation? – Consider External factors affecting perf: signal strength, carrier networks, Network type (3G/HSPDA), … • Manual (UI) vs. Automated (UI/API) • Absolute (engineers) vs. Perceived (users!)

  21. Credits • Communicator Mobile Product Team • Windows Live Messenger Team • Designing and Engineering Time: The Psychology of Time Perception in Software by Steven C. Seow • Power Monitor • SPB GPRSMon

  22. Thanks! Questions

Recommend


More recommend