Академический Документы
Профессиональный Документы
Культура Документы
July 8, 2011
Agenda
Device side performance challenges for mobile applications Why performance analysis? Performance analysis approach Planning performance analysis of mobile apps Optimization techniques for better performance Real-world examples
Diversity in handsets Difference in the screen size Variations in battery life and memory 3G Option/ Wi-Fi Capabilities Touch, Multi-touch Different types of processors and hardware Device features, such as GPS, Camera, etc. Application development methodology
Application Stability
Performance Factors
Memory info
Process info
Device info
Traceview & Eclipse memory analyzer & DDMS for Android J2ME profiler for Java phones JDE memory analyzer for BlackBerry Instruments for iPhone
Instrument the device Capturing performance parameters on device Extracting, collating & analyzing Reporting performance bottlenecks
Optimization Techniques
Optimization Techniques
Optimized communication
Resolves issues caused by 3G and Device Wi-Fi capabilities Connect to server using push-based notifications Implementing objects and data caching mechanisms Using scaled-down protocols and minimum functionalities
Optimization Techniques
Real-world Experience
The Client
A leading financial services provider
Key Challenges
Application not usable after some time Application screens are taking time to load Extra usage of memory in certain events
Impetus Solution
Wrote small stubs in the application to identify performance bottlenecks
Reinvent the image processing algorithm to reduce CPU cycles Usage of multi threaded approach
Analyze memory usage and resolve memory leaks from the system
Benefits Realised
Tremendous increase in applications performance and life Enhanced application consumes lesser memory vis- a-vis prev version
Real-world Experience
The Client
Key Challenges
Playing smooth audio-video together without interruption Various network protocol usage Enhance battery life so as to play video for 3-4
Impetus Solution
Customized data source implementation Implemented RTSP, RTP, RTCP protocols with device threading support Event queue to process media streams
Benefits Realised
Enhanced battery life Audio/Video synchronization maintained and better quality delivered
Driven by..
Impetus Mobile Maturity Model
To Summarize..
Application should not adversely affect device CPU and memory Performance analysis to be based on CPU, memory, service, debug and process info parameters Small stubs can be used to identify problem area of your app Optimization techniques can be incorporated where required Right designed application will always get desired performance
Impetus Technologies
Questions
Thank you
Mail us at inquiry@impetus.com or visit www.impetus.com
Recorded version available at http://www.impetus.com/webinar_registration?event=archived&eid=44