Should energy consumption influence the choice of Android third-party HTTP libraries?

被引:5
|
作者
Anwar, Hina [1 ]
Demirer, Berker [1 ]
Pfahl, Dietmar [1 ]
Srirama, Satish [1 ]
机构
[1] Univ Tartu, Inst Comp Sci, Tartu, Estonia
关键词
Third-party Libraries; App Development; Energy Consumption; HTTP Libraries; Android Libraries; Energy Efficient App;
D O I
10.1145/3387905.3392095
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In mobile devices, the battery is a limited resource and mobile apps are designed with this constraint in mind. To speed up development, app developers often use third-party libraries. Researchers have found that third-party libraries for ads and billing excessively use mobile resources. Other often used third-party libraries such as Android third-party HTTP libraries have received less attention from research regarding energy consumption. To fill this gap, we investigated whether popular Android third-party HTTP libraries vary in energy consumption. In addition, we checked whether there is a correlation between performance and energy consumption. To achieve this goal, we performed a controlled experiment. We created 45 different versions of a custom app and explored the energy consumption and performance of eight popular Android third-party HTTP libraries in five typical use cases. We found that there is a significant variance of energy consumption between the selected Android third-party HTTP libraries. We assume that the energy drivers are related to the internal structure of the Android thirdparty HTTP libraries, in particular to the handling of asynchronous tasks and the creation of multiple threads in the background. We did not find significant correlation between performance and energy consumption in most of the versions. Our results will help app developers make better choices when selecting Android third-party HTTP libraries.
引用
收藏
页码:87 / 97
页数:11
相关论文
共 50 条
  • [1] Dynamic privacy leakage analysis of Android third-party libraries
    He, Yongzhong
    Yang, Xuejun
    Hu, Binghui
    Wang, Wei
    JOURNAL OF INFORMATION SECURITY AND APPLICATIONS, 2019, 46 : 259 - 270
  • [2] Dynamic Privacy Leakage Analysis of Android Third-party Libraries
    He, Yongzhong
    Hu, Binghui
    Han, Zhen
    2018 1ST INTERNATIONAL CONFERENCE ON DATA INTELLIGENCE AND SECURITY (ICDIS 2018), 2018, : 275 - 280
  • [3] LibSift: Automated Detection of Third-Party Libraries in Android Applications
    Soh, Charlie
    Tan, Hee Beng Kuan
    Arnatovich, Yauhen Leanidavich
    Narayanan, Annamalai
    Wang, Lipo
    2016 23RD ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2016), 2016, : 41 - 48
  • [4] Splitting Third-Party Libraries' Privileges from Android Apps
    Zhan, Jiawei
    Zhou, Quan
    Gu, Xiaozhuo
    Wang, Yuewu
    Niu, Yingjiao
    INFORMATION SECURITY AND PRIVACY, ACISP 2017, PT II, 2017, 10343 : 80 - 94
  • [5] LibCapsule: Complete Confinement of Third-Party Libraries in Android Applications
    Qiu, Jun
    Yang, Xuewu
    Wu, Huamao
    Zhou, Yajin
    Li, Jinku
    Ma, Jianfeng
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2022, 19 (05) : 2873 - 2889
  • [6] LIBID: Reliable Identification of Obfuscated Third-Party Android Libraries
    Zhang, Jiexin
    Beresford, Alastair R.
    Kolhnann, Stephan A.
    PROCEEDINGS OF THE 28TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA '19), 2019, : 55 - 65
  • [7] Stay in Your Cage! A Sound Sandbox for Third-Party Libraries on Android
    Wang, Fabo
    Zhang, Yuqing
    Wang, Kai
    Liu, Peng
    Wang, Wenjie
    COMPUTER SECURITY - ESORICS 2016, PT I, 2016, 9878 : 458 - 476
  • [8] Stay in your Cage! a sound sandbox for third-party libraries on android
    Wang, Fabo
    Zhang, Yuqing
    Wang, Kai
    Liu, Peng
    Wang, Wenjie
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2016, 9878 LNCS : 458 - 476
  • [9] DPC:A Dynamic Permission Control Mechanism for Android Third-Party Libraries
    Hsu, Fu-Hau
    Liu, Nien-Chi
    Hwang, Yan-Ling
    Liu, Che-Hao
    Wang, Chuan-Sheng
    Chen, Chang-Yi
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2021, 18 (04) : 1751 - 1761
  • [10] LibRadar: Fast and Accurate Detection of Third-party Libraries in Android Apps
    Ma, Ziang
    Wang, Haoyu
    Guo, Yao
    Chen, Xiangqun
    2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C), 2016, : 653 - 656