Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Device side performance Optimization of Mobile Apps- Impetus Webinar

1,360 views

Published on

Device Side Performance Optimization of Mobile Apps- Impetus Webinar

Recorded version available at- http://www.impetus.com/webinar_registration?event=archived&eid=44

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Device side performance Optimization of Mobile Apps- Impetus Webinar

  1. 1. Device Side Performance Optimization of Mobile Apps<br />July 8, 2011<br />Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  2. 2. Agenda<br />Device side performance challenges for mobile applications<br />Why performance analysis?<br />Performance analysis approach<br />Planning performance analysis of mobile apps<br />Optimization techniques for better performance<br />Real-world examples<br />Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  3. 3. Device-side Performance Challenges for Mobile Applications<br /><ul><li>Diversity in handsets
  4. 4. Difference in the screen size
  5. 5. Variations in battery life and memory
  6. 6. 3G Option/ Wi-Fi Capabilities
  7. 7. Touch, Multi-touch
  8. 8. Different types of processors and hardware
  9. 9. Device features, such as GPS, Camera, etc.
  10. 10. Application development methodology</li></ul>Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  11. 11. Importance of Performance Analysis<br />Faster Time to Market<br />Saves Battery Life<br />Limited Code Change<br />Application Stability<br />Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  12. 12. Performance Factors<br />Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  13. 13. Options for Performance Analysis<br /><ul><li>Using extensive debugging tools
  14. 14. Traceview & Eclipse memory analyzer & DDMS for Android
  15. 15. J2ME profiler for Java phones
  16. 16. JDE memory analyzer for BlackBerry
  17. 17. Instruments for iPhone
  18. 18. Usage of small stubs
  19. 19. Automated scripts </li></ul>Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  20. 20. Performance Analysis Approach<br />Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  21. 21. Optimization Techniques<br /><ul><li>UI independent layouts and design
  22. 22. Addresses challenges created by diversity in handsets, difference in device screen sizes & Touch/Multi-touch feature
  23. 23. Developing no-porting/less-porting build to reduce binary size
  24. 24. Proper usage of MVC framework
  25. 25. Address ‘Application Development Methodology’ issues
  26. 26. Endorses platform independent design for applications</li></ul>Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  27. 27. Optimization Techniques<br /><ul><li>Optimized communication
  28. 28. Resolves issues caused by 3G and Device Wi-Fi capabilities
  29. 29. Connect to server using push-based notifications
  30. 30. Implementing objects and data caching mechanisms
  31. 31. Using scaled-down protocols and minimum functionalities
  32. 32. Auto selection of most preferred mode
  33. 33. Design considerations of available network options</li></ul>Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  34. 34. Optimization Techniques<br /><ul><li>Memory management with the help of weak references
  35. 35. Helps application development methodology
  36. 36. Using weak reference to manage device memory
  37. 37. Lazy loading of resources
  38. 38. Addresses problem created by diverse processors and hardware
  39. 39. Enhanced turn around time
  40. 40. Worker thread implementation
  41. 41. Business Logic operations can be implemented on worker thread</li></ul>Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  42. 42. Real-world Experience<br />The Client<br />A leading financial services provider<br />Key Challenges<br />Application not usable after some time<br />Application screens are taking time to load<br />Extra usage of memory in certain events<br />Impetus Solution<br />Wrote small stubs in the application to identify performance bottlenecks<br />Reinvent the image processing algorithm to reduce CPU cycles<br />Usage of multi threaded approach<br />Analyze memory usage and resolve memory leaks from the system <br />Benefits Realised<br /><ul><li>Tremendous increase in application’s performance and life
  43. 43. Enhanced application consumes lesser memory vis- a-visprev version</li></li></ul><li>Real-world Experience<br />The Client<br />A leading Media broadcast service provider company <br />Key Challenges<br />Playing smooth audio-video together without interruption<br />Various network protocol usage<br />Enhance battery life so as to play video for 3-4 <br />Impetus Solution<br />Customized data source implementation<br />Implemented RTSP, RTP, RTCP protocols with device threading support<br />Event queue to process media streams<br />Benefits Realised<br /><ul><li>Enhanced battery life
  44. 44. Audio/Video synchronization maintained and better quality delivered</li></li></ul><li>Driven by..<br />Impetus Mobile Maturity Model<br />Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  45. 45. To Summarize..<br /><ul><li>Application should not adversely affect device CPU and memory
  46. 46. Performance analysis to be based on CPU, memory, service, debug and process info parameters
  47. 47. Small stubs can be used to identify problem area of your app
  48. 48. Optimization techniques can be incorporated where required
  49. 49. Right designed application will always get desired performance</li></ul>Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  50. 50. Impetus Technologies <br />We offer innovative product engineering <br />and technology R&D services<br />Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  51. 51. Questions<br />Please send in your questions using the chat panel<br />Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />
  52. 52. Thank you<br />Mail us at inquiry@impetus.com<br />or visit www.impetus.com<br />Recorded version available at <br />http://www.impetus.com/webinar_registration?event=archived&eid=44<br />

×