Profiling the Responsiveness of Android Applications via Automated Resource Amplification

被引:0
|
作者
Wang, Yan [1 ]
Rountev, Atanas [1 ]
机构
[1] Ohio State Univ, Columbus, OH 43210 USA
基金
美国国家科学基金会;
关键词
D O I
10.1145/2897073.2897097
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The responsiveness of the GUI in an Android application is an important component of the user experience. Android guidelines recommend that potentially-expensive operations should not be performed in the GUI thread, but rather in separate threads. The responsiveness of existing code can be improved by introducing such asynchronous processing, either manually or automatically. One simple view is that all potentially-expensive operations should be removed from the GUI thread. We demonstrate that this view is too simplistic, because run-time cost under reasonable conditions may often be below the threshold for poor responsiveness. We propose a profiling approach to characterize response times as a function of the size of a potentially-expensive resource (e.g., shared preferences store, bitmap, or SQLite database). By manipulating and "amplifying" such resources automatically, we can obtain a responsiveness profile for each GUI-related callback. The profiling is based on a static analysis to generate tests that trigger expensive operations, followed by a dynamic analysis of amplified test execution. Based on our evaluation, we conclude that many operations can be safely left in the GUI thread. These results highlight the importance of choosing carefully based on profiling information the operations that should be removed from the GUI thread, in order to avoid unnecessary code complexity.
引用
收藏
页码:48 / 58
页数:11
相关论文
共 50 条
  • [31] ANEPROF: Energy profiling for android java virtual machine and applications
    Department of Computer Science, National Tsing Hua University, Hsinchu, Taiwan
    Proc Int Conf Parallel Distrib Syst ICPADS, (372-379):
  • [32] AndroidPerf: A Cross-layer Profiling System for Android Applications
    Xue, Lei
    Qian, Chenxiong
    Luo, Xiapu
    2015 IEEE 23RD INTERNATIONAL SYMPOSIUM ON QUALITY OF SERVICE (IWQOS), 2015, : 115 - 124
  • [33] Anomadroid: profiling Android applications' behaviors for identifying unknown malapps
    Su, Dan
    Wang, Wei
    Wang, Xing
    Liu, Jiqiang
    2016 IEEE TRUSTCOM/BIGDATASE/ISPA, 2016, : 691 - 698
  • [34] Reconfigurable Multi-Resolution Performance Profiling in Android Applications
    Lin, Ying-Dar
    Chang, Kuei-Chung
    Lai, Yuan-Cheng
    Lai, Yu-Sheng
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2013, E96D (09): : 2039 - 2046
  • [35] Classifying Android Applications Via System Stats
    Hightower, Joshua
    Glisson, William Bradley
    Benton, Ryan
    McDonald, J. Todd
    2021 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2021, : 5388 - 5394
  • [36] Usability Evaluation Framework Automated Interface Analysis for Android Applications
    Lettner, Florian
    Holzmann, Clemens
    COMPUTER AIDED SYSTEMS THEORY - EUROCAST 2011, PT II, 2012, 6928 : 560 - 567
  • [37] Profiling and Modeling Resource Usage of Virtualized Applications
    Wood, Timothy
    Cherkasova, Ludmila
    Ozonat, Kivanc
    Shenoy, Prashant
    MIDDLEWARE 2008, PROCEEDINGS, 2008, 5346 : 366 - +
  • [38] Automated Analysis Method for Forensic Investigation of Cloud Applications on Android
    Daryabar, Farid
    Tadayon, Mohammad Hesam
    Parsi, Ashkan
    2016 8TH INTERNATIONAL SYMPOSIUM ON TELECOMMUNICATIONS (IST), 2016, : 145 - 150
  • [39] DynaLog: An automated dynamic analysis framework for characterizing Android applications
    Alzaylaee, Mohammed K.
    Yerima, Suleiman Y.
    Sezer, Sakir
    2016 INTERNATIONAL CONFERENCE ON CYBER SECURITY AND PROTECTION OF DIGITAL SERVICES (CYBER SECURITY), 2016,
  • [40] Automated security testing of Android applications for secure mobile development
    Palma, Francisco
    Realista, Nuno
    Serrao, Carlos
    Nunes, Luis
    Oliveira, Joao
    Almeida, Ana
    2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2020, : 222 - 231