An empirical investigation of performance overhead in cross-platform mobile development frameworks

被引:17
|
作者
Biorn-Hansen, Andreas [1 ,2 ]
Rieger, Christoph [4 ]
Gronli, Tor-Morten [1 ]
Majchrzak, Tim A. [5 ]
Ghinea, Gheorghita [1 ,3 ]
机构
[1] Kristiania Univ Coll, Mobile Technol Lab, Oslo, Norway
[2] Brunel Univ, Dept Comp Sci, London, England
[3] Brunel Univ, Dept Comp Sci, Mulsemedia Comp, London, England
[4] Univ Munster, Munster, Germany
[5] Univ Agder, Kristiansand, Norway
关键词
Cross-platform development; Mobile app; Performance benchmark; Development approaches; APP DEVELOPMENT;
D O I
10.1007/s10664-020-09827-6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The heterogeneity of the leading mobile platforms in terms of user interfaces, user experience, programming language, and ecosystem have made cross-platform development frameworks popular. These aid the creation of mobile applications -apps- that can be executed across the target platforms (typically Android and iOS) with minimal to no platform-specific code. Due to the cost- and time-saving possibilities introduced through adopting such a framework, researchers and practitioners alike have taken an interest in the underlying technologies. Examining the body of knowledge, we, nonetheless, frequently encounter discussions on the drawbacks of these frameworks, especially with regard to the performance of the apps they generate. Motivated by the ongoing discourse and a lack of empirical evidence, we scrutinised the essential piece of the cross-platform frameworks: the bridge enabling cross-platform code to communicate with the underlying operating system and device hardware APIs. The study we present in the article benchmarks and measures the performance of this bridge to reveal its associated overhead in Android apps. The development of the artifacts for this experiment was conducted using five cross-platform development frameworks to generate Android apps, in addition to a baseline native Android app implementation. Our results indicate that - for Android apps - the use of cross-platform frameworks for the development of mobile apps may lead to decreased performance compared to the native development approach. Nevertheless, certain cross-platform frameworks can perform equally well or even better than native on certain metrics which highlights the importance of well-defined technical requirements and specifications for deliberate selection of a cross-platform framework or overall development approach.
引用
收藏
页码:2997 / 3040
页数:44
相关论文
共 50 条
  • [1] An empirical investigation of performance overhead in cross-platform mobile development frameworks
    Andreas Biørn-Hansen
    Christoph Rieger
    Tor-Morten Grønli
    Tim A. Majchrzak
    Gheorghita Ghinea
    [J]. Empirical Software Engineering, 2020, 25 : 2997 - 3040
  • [2] An empirical analysis of energy consumption of cross-platform frameworks for mobile development
    Ciman, Matteo
    Gaggi, Ombretta
    [J]. PERVASIVE AND MOBILE COMPUTING, 2017, 39 : 214 - 230
  • [3] An Overview of Modern Cross-platform Mobile Development Frameworks
    Stanojevic, Jelica
    Sosevic, Uros
    Minovic, Miroslav
    Milovanovic, Milos
    [J]. CENTRAL EUROPEAN CONFERENCE ON INFORMATION AND INTELLIGENT SYSTEMS, CECIIS 2022, 2022, : 489 - 497
  • [4] Testing Cross-Platform Mobile App Development Frameworks
    Boushehrinejadmoradi, Nader
    Ganapathy, Vinod
    Nagarakatte, Santosh
    Iftode, Liviu
    [J]. 2015 30TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2015, : 441 - 451
  • [5] Impact of Cross-Platform Development Frameworks on the Performance of Mobile Communications for Short Distances
    Contasel, Cristian
    Rughinis, Razvan
    Rosner, Daniel
    Tranca, Dumitru Cristian
    [J]. PROCEEDINGS OF THE 14TH INTERNATIONAL SCIENTIFIC CONFERENCE ELEARNING AND SOFTWARE FOR EDUCATION: ELEARNING CHALLENGES AND NEW HORIZONS, VOL 3, 2018, : 403 - 410
  • [6] An Empirical Study of Cross-Platform Mobile Development in Industry
    Biorn-Hansen, Andreas
    Gronli, Tor-Morten
    Ghinea, Gheorghita
    Alouneh, Sahel
    [J]. WIRELESS COMMUNICATIONS & MOBILE COMPUTING, 2019,
  • [7] An Evaluation of Cross-Platform Frameworks for Multimedia Mobile Applications Development
    Ferreira, Cristiane M. S.
    Peixoto, Maria J. P.
    Duarte, Paulo A. S.
    Torres, Andrei B. B.
    Silva Junior, Messias L.
    Rocha, Lincoln S.
    Viana, Windson
    [J]. IEEE LATIN AMERICA TRANSACTIONS, 2018, 16 (04) : 1206 - 1212
  • [8] Developing Accessible Mobile Applications with Cross-Platform Development Frameworks
    Mascetti, Sergio
    Ducci, Mattia
    Cantu, Niccolo
    Pecis, Paolo
    Ahmetovic, Dragan
    [J]. 23RD INTERNATIONAL ACM SIGACCESS CONFERENCE ON COMPUTERS AND ACCESSIBILITY, ASSETS 2021, 2021,
  • [9] Performance Overhead of Haxe Programming Language for Cross-Platform Game Development
    Strekelj, Domagoj
    Leventic, Hrvoje
    Galic, Irena
    [J]. INTERNATIONAL JOURNAL OF ELECTRICAL AND COMPUTER ENGINEERING SYSTEMS, 2015, 6 (01) : 9 - 13
  • [10] An Empirical Evaluation of AXIOM as an Approach to Cross-platform Mobile Application Development
    Jones, Christopher
    Jia, Xiaoping
    [J]. ICSOFT-EA: PROCEEDINGS OF THE 11TH INTERNATIONAL JOINT CONFERENCE ON SOFTWARE TECHNOLOGIES - VOL. 1, 2016, : 264 - 271