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 条
  • [1] Automated repair of resource leaks in Android applications
    Bhatt, Bhargav Nagaraja
    Furia, Carlo A.
    Journal of Systems and Software, 2022, 192
  • [2] Automated repair of resource leaks in Android applications?
    Bhatt, Bhargav Nagaraja
    Furia, Carlo A.
    JOURNAL OF SYSTEMS AND SOFTWARE, 2022, 192
  • [3] Testing for Poor Responsiveness in Android Applications
    Yang, Shengqian
    Yan, Dacong
    Rountev, Atanas
    2013 1ST INTERNATIONAL WORKSHOP ON THE ENGINEERING OF MOBILE-ENABLED SYSTEMS (MOBS), 2013, : 1 - 6
  • [4] A Software Environment for Confining Malicious Android Applications via Resource Virtualization
    Li, Xiaolei
    Bai, Guangdong
    Liang, Zhenkai
    Yin, Heng
    2013 18TH INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS (ICECCS), 2013, : 208 - 211
  • [5] PowDroid: Energy Profiling of Android Applications
    Bouaffar, Fares
    Le Goaer, Olivier
    Noureddine, Adel
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS (ASEW 2021), 2021, : 251 - 254
  • [6] How resource utilization influences UI responsiveness of Android software
    Fu, Jiaojiao
    Wang, Yaohui
    Zhou, Yangfan
    Wang, Xin
    INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 141
  • [7] Privacy Profiling Impact of Android Mobile Applications
    Barca, Cristian
    Barca, Dan Claudiu
    Mara, Constantin
    Raducu, Marian
    Gavriloaia, Bogdan
    Vizireanu, Radu
    Craciunescu, Razvan
    Halunga, Simona
    PROCEEDINGS OF THE 2015 7TH INTERNATIONAL CONFERENCE ON ELECTRONICS, COMPUTERS AND ARTIFICIAL INTELLIGENCE (ECAI), 2015,
  • [8] Automated GUI Testing for Android News Applications
    Chu, Edward T. -H.
    Lin, Jun-Yan
    2018 INTERNATIONAL SYMPOSIUM ON COMPUTER, CONSUMER AND CONTROL (IS3C 2018), 2018, : 14 - 17
  • [9] DIAS: Automated Online Analysis for Android Applications
    Li, Juanru
    Zhang, Yuanyuan
    Yang, Wenbo
    Shu, Junliang
    Gu, Dawu
    2014 IEEE INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION TECHNOLOGY (CIT), 2014, : 307 - 314
  • [10] An analysis of automated tests for mobile Android applications
    Silva, Davi Bernardo
    Endo, Andre Takeshi
    Eler, Marcelo Medeiros
    Durelli, Vinicius H. S.
    PROCEEDINGS OF THE 2016 XLII LATIN AMERICAN COMPUTING CONFERENCE (CLEI), 2016,