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 条
  • [41] Exploring the Integration of User Feedback in Automated Testing of Android Applications
    Grano, Giovanni
    Ciurumelea, Adelina
    Panichella, Sebastiano
    Palomba, Fabio
    Gall, Harald C.
    2018 25TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2018), 2018, : 72 - 83
  • [42] A Reinforcement Learning Based Approach to Automated Testing of Android Applications
    Thi Anh Tuyet Vuong
    Takada, Shingo
    PROCEEDINGS OF THE 9TH ACM SIGSOFT INTERNATIONAL WORKSHOP ON AUTOMATING TEST CASE DESIGN, SELECTION, AND EVALUATION (A-TEST '18), 2018, : 31 - 37
  • [43] Automated Execution Control and Dynamic Behavior Monitoring for Android™ Applications
    Ter Louw, Mike
    Krull, Marc
    Thomas, Tavaris
    Cathey, Rebecca
    Frazier, Greg
    Weber, Mike
    2013 IEEE MILITARY COMMUNICATIONS CONFERENCE (MILCOM 2013), 2013, : 968 - 973
  • [44] Automated Bug Reproduction from User Reviews for Android Applications
    Li, Shuyue
    Guo, Jiaqi
    Fan, Ming
    Lou, Jian-Guang
    Zheng, Qinghua
    Liu, Ting
    2020 IEEE/ACM 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE (ICSE-SEIP), 2020, : 51 - 60
  • [45] Automated Testing to Detect Status Data Loss in Android Applications
    Konduru, Anusha
    Shan, Zhiyong
    2022 IEEE/ACIS 20TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH, MANAGEMENT AND APPLICATIONS (SERA), 2022, : 155 - 160
  • [46] Automated Detection of TalkBack Interactive Accessibility Failures in Android Applications
    Alotaibi, Ali S.
    Chiou, Paul T.
    Halfond, William G. J.
    2022 IEEE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2022), 2022, : 232 - 243
  • [47] An Automated Testing Framework for Testing Android Mobile Applications in the Cloud
    Prathibhan, C. Mano
    Malini, A.
    Venkatesh, N.
    Sundarakantham, K.
    2014 INTERNATIONAL CONFERENCE ON ADVANCED COMMUNICATION CONTROL AND COMPUTING TECHNOLOGIES (ICACCCT), 2014, : 1216 - 1219
  • [48] Preference-wise Testing of Android Apps via Test Amplification
    Pan, Minxue
    Lu, Yifei
    Pei, Yu
    Zhang, Tian
    Li, Xuandong
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2023, 32 (01)
  • [49] ANEPROF: Energy Profiling for Android Java']Java Virtual Machine and Applications
    Chung, Yi-Fan
    Lin, Chun-Yu
    King, Chung-Ta
    2011 IEEE 17TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS), 2011, : 372 - 379
  • [50] Android Applications: Data Leaks via Advertising Libraries
    Moonsamy, Veelasha
    Batten, Lynn
    2014 INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY AND ITS APPLICATIONS (ISITA), 2014, : 314 - 317