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
来源
2020 IEEE/ACM 7TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS, MOBILESOFT | 2020年
关键词
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 条
  • [41] Demystifying Privacy Policy of Third-Party Libraries in Mobile Apps
    Zhao, Kaifa
    Zhan, Xian
    Yu, Le
    Zhou, Shiyao
    Zhou, Hao
    Luo, Xiapu
    Wang, Haoyu
    Liu, Yepang
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE, 2023, : 1583 - 1595
  • [42] CrossRec: Supporting software developers by recommending third-party libraries
    Nguyen, Phuong T.
    Di Rocco, Juri
    Di Ruscio, Davide
    Di Penta, Massimiliano
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 161 (161)
  • [43] Do Developers Update Third-Party Libraries in Mobile Apps?
    Salza, Pasquale
    Palomba, Fabio
    Di Nucci, Dario
    D'Uva, Cosmo
    De Lucia, Andrea
    Ferrucci, Filomena
    2018 IEEE/ACM 26TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2018), 2018, : 255 - 265
  • [44] Selecting third-party libraries: the data scientist's perspective
    Nadi, Sarah
    Sakr, Nourhan
    EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (01)
  • [45] Selecting third-party libraries: the data scientist’s perspective
    Sarah Nadi
    Nourhan Sakr
    Empirical Software Engineering, 2023, 28
  • [46] CanvasMirror: Secure Integration of Third-Party Libraries in a WebVR Environment
    Lee, Jiyeon
    2020 50TH ANNUAL IEEE-IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS-SUPPLEMENTAL VOLUME (DSN-S), 2020, : 75 - 76
  • [47] Armor Within: Defending against Vulnerabilities in Third-Party Libraries
    Ali, Sameed
    Anantharaman, Prashant
    Smith, Sean W.
    2020 IEEE SYMPOSIUM ON SECURITY AND PRIVACY WORKSHOPS (SPW 2020), 2020, : 291 - 299
  • [48] Demystifying Privacy Policy of Third-Party Libraries in Mobile Apps
    Zhao, Kaifa
    Zhan, Xian
    Yu, Le
    Zhou, Shiyao
    Zhou, Hao
    Luo, Xiapu
    Wang, Haoyu
    Liu, Yepang
    Proceedings - International Conference on Software Engineering, 2023, : 1583 - 1595
  • [49] Social influence on third-party punishment: An experiment
    Fabbri, Marco
    Carbonara, Emanuela
    JOURNAL OF ECONOMIC PSYCHOLOGY, 2017, 62 : 204 - 230
  • [50] Obfuscation-resilient detection of Android third-party libraries using multi-scale code dependency fusion
    Zhang, Zhao
    Luo, Senlin
    Lu, Yongxin
    Pan, Limin
    INFORMATION FUSION, 2025, 117