Treffer: Characterizing and Detecting Performance Bugs for Smartphone Applications

Title:
Characterizing and Detecting Performance Bugs for Smartphone Applications
Contributors:
The Pennsylvania State University CiteSeerX Archives
Source:
http://cs.nju.edu.cn/changxu/1 publications/ICSE14_02.pdf.
Collection:
CiteSeerX
Document Type:
Fachzeitschrift text
File Description:
application/pdf
Language:
English
Rights:
Metadata may be used without restrictions as long as the oai identifier remains attached to it.
Accession Number:
edsbas.CFEDD234
Database:
BASE

Weitere Informationen

Smartphone applications ’ performance has a vital impact on user experience. However, many smartphone applications suffer from bugs that cause significant performance degradation, thereby los-ing their competitive edge. Unfortunately, people have little un-derstanding of these performance bugs. They also lack effective techniques to fight with such bugs. To bridge this gap, we con-ducted a study of 70 real-world performance bugs collected from eight large-scale and popular Android applications. We studied the characteristics (e.g., bug types and how they manifested) of these bugs and identified their common patterns. These findings can support follow-up research on performance bug avoidance, testing, debugging and analysis for smartphone applications. To demonstrate the usefulness of our findings, we implemented a static code analyzer, PerfChecker, to detect our identified perfor-mance bug patterns. We experimentally evaluated PerfChecker by applying it to 29 popular Android applications, which comprise 1.1 million lines of Java code. PerfChecker successfully detected 126 matching instances of our performance bug patterns. Among them, 68 were quickly confirmed by developers as previously-unknown issues that affect application performance, and 20 were fixed soon afterwards by following our optimization suggestions.