Towards Performance-Enhancing Programming for Android Application Development
0
조회
0
다운로드
0
인용
0
참고문헌
키워드
초록
Due to resource constraints, most of Android application developers need to address potential performance problems during application development and maintenance. The coding styles and patterns of Android programming could often affect the execution time and energy efficiency which are utilized by the Android applications. Thus, it is necessary for application developers to apply performance-enhancing programming practices for mobile application development. This paper introduces performance-enhancing best practices for Android programming, and further, it evaluates the impact of these practices on the CPU time of the application. The original version with the performance-worsening code has been refactored to become an efficient version without changing its functionality. To demonstrate the efficiency of the proposed approach, each coding pattern was evaluated by measuring the CPU time under the controlled runtime environment. Furthermore, the Android applications were evaluated and compared via the CPU time of the original version, with that of the refactored version. These experimental results indicate that, by -using the proposed programming practices, the Android developer can develop performance-efficient mobile applications.
Abstract
Due to resource constraints, most of Android application developers need to address potential performance problems during application development and maintenance. The coding styles and patterns of Android programming could often affect the execution time and energy efficiency which are utilized by the Android applications. Thus, it is necessary for application developers to apply performance-enhancing programming practices for mobile application development. This paper introduces performance-enhancing best practices for Android programming, and further, it evaluates the impact of these practices on the CPU time of the application. The original version with the performance-worsening code has been refactored to become an efficient version without changing its functionality. To demonstrate the efficiency of the proposed approach, each coding pattern was evaluated by measuring the CPU time under the controlled runtime environment. Furthermore, the Android applications were evaluated and compared via the CPU time of the original version, with that of the refactored version. These experimental results indicate that, by -using the proposed programming practices, the Android developer can develop performance-efficient mobile applications.
참고문헌 (20)
- "Android Mobile Platforms"[URL]
- "Google Play"[URL]
- AppBrain, "Number of Android applications", ~ (2017)
- "Android NDK website"[URL]
- J. Reimann, "A Tool-Supported Quality Smell Catalogue for Android Developers", Softwaretechnik-Trends (2014)
- U. A. Mannan, "Understanding code smells in Android applications", International Conference on Mobile Software Engineering and Systems (2016)
- S. Mundody, "Evaluating the Impact of Android Best Practices on Energy Consumption", International Conference on Information and Communication Technologies (2014)
- D. Li, "An investigation into energy-saving programming practices for Android smartphone app development", International Workshop on Green and Sustainable Software (2014)
- F. A. Fontana, "Automatic metric thresholds derivation for code smell detection", International Workshop on Emerging Trends in Software Metrics (2015)
- M. Fowler, "Refactoring: Improving the Design of Existing Code" (2002), Addison Wesley
- F. Palomba, "Lightweight detection of Android-specific code smells : The aDoctor project", International Conference on Software Analysis, Evolution and Reengineering(SANER) (2017)
- G. Hecht, "Tracking the Software Quality of Android Applications Along Their Evolution", International Conference on Automated Software Engineering (2015)
- J. A. M. Santos, "An exploratory study to investigate the impact of conceptualization in god class detection", International Conference on Evaluation and Assessment in Software Engineering (2013)
- 이제욱, "Energy Bad Smells 기반 소모전력 절감을 위한 코드 리팩토링 기법", 정보처리학회논문지. 소프트웨어 및 데이터 공학, 5(5), pp.209~220 (2016), 한국정보처리학회[DOI]
- M. Gottschalk, "Removing Energy Code Smells with Reengineering Services", Lecture Notes in Informatics (2012)
- A. Carette, "Investigating the energy impact of Android smells", International Conference on Software Analysis, Evolution and Reengineering(SANER) (2017)
- G. Hecht, "An Empirical Study of the Performance Impacts of Android Code Smells", International Conference on Mobile Software Engineering and Systems (2016)
- "Best Practices for Performance"[URL]
- "Bitmap Plasma"[URL]
- "Robotium"[URL]
