SlideShare a Scribd company logo
Ecological Impact of Native vs. Cross-Platform
Mobile Apps: a Preliminary Study
Vincent Frattaroli, Olivier Le Goaër, Olivier Philippot
The 6th International Workshop on Advances in Mobile App Analysis
September 15th
, 2023
Mobile software eaten the world…
From “There's an App for That” (Apple, 2009), 13 years of continuous growth
Mobile software has yielded new addictive behaviours*
The industry of mobile development has undergone profound mutations
6.84 billion smartphones
8.93 million mobile apps
*Richard J.E. James et al., “Understanding the construction of ‘behavior’ in smartphone addiction: A scoping review”, Addictive Behaviors (Volume 137), February 2023
…while the world is facing climate change
Manufacturing user devices is the primary source of GHG in ICT field
Increasingly demanding software is driving the need to renew hardware
Software developers must play their part in the Green Deal (Europe)
Software-driven hardware obsolescence
Eco-friendly dev stack
Patterns & tactics
Apply best coding practices to
save energy [3]
3
Langages & runtime
Choose energy-efficient
programming languages [2]
2
Development
methodology
Choose the right type of
development to save energy [1]
1
[1] R. Horn et al., “Native vs Web Apps: Comparing the Energy Consumption and Performance of Android Apps and their Web Counterparts”, IEEE/ACM MOBILESoft 2023, Melbourne, Australia, pp. 44-54.
[2] Rui Pereira et al. “Ranking Programming Languages by Energy Efficiency”. Science of Computer Programming, volume 205. Elsevier, 2021
[3] Luis Cruz and Rui Abreu. 2019. “Catalog of energy patterns for mobile applications”. Empirical Software. Engineering. 24, 4 (August 2019)
Trendy cross-platform solutions
“Write once, run everywhere” motto
Kotlin Multiplatform Mobile React Native Flutter
Joint work for this study
Greenspector
03
● Mobile measurement company
● Testbench for Android and iOS apps
University of Pau / E2S
02
● Software engineering team
● Research on “Green Software”
inside|app
01
● Mobile app development company
● Build validation app
Carbon-related metrics
Energy
consumption
(mAh)
Data transfer
(KB)
App size
(KB)
Crosscutting the carbon 3-tier
Device Network infrastructure Cloud/Data center
(including app stores)
5 codebases, 8 app variants
Development kind Framework (version) Target OS
Native Swift (5.6)
Native Kotlin (1.6.10)
Crossplatform KMM (0.3.2)
Crossplatform Flutter (2.16.0)
Crossplatform React Native (0.69)
https://github.com/orgs/TurnipOffApp/repositories
Preliminary remarks
There is no zoo of mobile apps coded using different methods
Coding 1 realistic app using the 5 methods is time consuming (≅10 man-days)
Performing such a comparative study on dozens of apps is cumbersome
Native & cross-platform development is evolving at a very fast pace
Validation app (Worst Movies)
Screenshots (iOS) Baseline for a fair comparison
● End user viewpoint
○ Same look&feel
○ Same journey
● Developer viewpoint
○ No advanced architecture
○ No fine-tuning
○ No third-party libraries
Testbench in a nutshell
powered by Greenspector
Developer’s
computer
GDSL test
script
App under test
1 - Send test file and app package
Real
Smartphones
Test bench
Server
Core server
Back-end
Server
Greenspector Premises
Web Interface (Dashboard)
Result recording
3 - Displaying results
2 - Waiting for live measurements
Communication needed if application
requires backend access
Communication needed if application
requires backend access
Domain-specific language for
fully automated testing
Results (partial)
Development
App size (KB) Data transfer (KB) Energy (mAh)
Swift N/A 216 N/A ? N/A 8,59
Kotlin 1200 N/A 944 N/A 21,60 N/A
KMM 3600 1600 932 ? 21,66 ?
Flutter 17500 18000 1190 ? 18,27 9,19
React Native 27300 13100 706 ? 19,45 11,62
Average data from 10 repetitions
At first glance
Native development is indisputably the best solution on both OS
React Native is by far the less data-intensive solution over the network
on Android (No data regarding iOS)
Flutter is doing very well in terms of energy-savings, on both OS
Takeways
Targeting iOS only
Apps with few network interactions
Other cases
Always Native development
In general, Native development
No general rule of thumb
But nothing beats an app “sober-by-design”
Conclusion
Ecological impact of app development methods is an understudied topic
Including iOS in the study is our pride, but also our weakness (missing values)
This study ought to be continued: repeat experiment, new releases, etc.
Our github repo may bootstrap research works about native vs. cross-platform
Thank you for your attention

More Related Content

PPTX
Marco Couto's Msc Thesis Presentation
GreenLabAtDI
 
PDF
Flutter vs React native vs Native performance.pdf
JPLoft Solutions
 
DOC
Home m
Harish Kumar
 
PDF
Cross platform app a comparative study
ijcsit
 
DOCX
ICT, Importance of programming and programming languages
Ebin Robinson
 
PDF
Software Sustainability: The Challenges and Opportunities for Enterprises and...
Patricia Lago
 
PDF
IRJET - Survey Paper on Tools Used to Enhance User's Experience with Cons...
IRJET Journal
 
PPT
Cross platform mobile application development
Friend Porag
 
Marco Couto's Msc Thesis Presentation
GreenLabAtDI
 
Flutter vs React native vs Native performance.pdf
JPLoft Solutions
 
Home m
Harish Kumar
 
Cross platform app a comparative study
ijcsit
 
ICT, Importance of programming and programming languages
Ebin Robinson
 
Software Sustainability: The Challenges and Opportunities for Enterprises and...
Patricia Lago
 
IRJET - Survey Paper on Tools Used to Enhance User's Experience with Cons...
IRJET Journal
 
Cross platform mobile application development
Friend Porag
 

Similar to Ecological Impact of Native vs. Cross-Platform Mobile Apps: a Preliminary Study (20)

PDF
PowDroid: Energy Profiling of Android Applications (ASE 2021 [Workshop] SUSTA...
Olivier Le Goaër
 
PPTX
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
Amit Sheth
 
PDF
A methodology for model driven multiplatform mobile application development
IAEME Publication
 
PDF
A methodology for model driven multiplatform mobile application development
IAEME Publication
 
PDF
What is The Best Platform for Mobile App Development.pdf
SjainVentures2
 
PDF
[2015/2016] Mobile thinking
Ivano Malavolta
 
PDF
Cross Platform Development Using Flutter
vivatechijri
 
PDF
Orban Widetag
AREA Science Park
 
PDF
Towards application development for the internet of things
Pankesh Patel
 
PDF
Appear IQ The Business Case for hybrid html5 mobile apps
Appear
 
PDF
LEVERAGING MOBILE DEVICES TO ENHANCE THE PERFORMANCE AND EASE OF PROGRAMMING ...
IJITE
 
PDF
Leveraging mobile devices to enhance the performance and ease of programming ...
IJITE
 
PDF
Test Cases and Testing Strategies for Mobile Apps –A Survey
IRJET Journal
 
PDF
Where Do Cross-Platform App Frameworks Stand in 2020?
Marianne Harness
 
PDF
Inria - Software assets - Energy
Inria
 
PPTX
Large-Scale Empirical Studies of Mobile Apps
SAIL_QU
 
PDF
IRJET- Cross-Platform Supported E-Learning Mobile Application
IRJET Journal
 
PDF
5 Factors of Mobile App Development & What is Native App.pdf
Leed Software Development
 
DOCX
James e owen resume detailed jan 2-16
James Owen
 
PPTX
Mobilesoft 2017 Keynote
Abhik Roychoudhury
 
PowDroid: Energy Profiling of Android Applications (ASE 2021 [Workshop] SUSTA...
Olivier Le Goaër
 
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
Amit Sheth
 
A methodology for model driven multiplatform mobile application development
IAEME Publication
 
A methodology for model driven multiplatform mobile application development
IAEME Publication
 
What is The Best Platform for Mobile App Development.pdf
SjainVentures2
 
[2015/2016] Mobile thinking
Ivano Malavolta
 
Cross Platform Development Using Flutter
vivatechijri
 
Orban Widetag
AREA Science Park
 
Towards application development for the internet of things
Pankesh Patel
 
Appear IQ The Business Case for hybrid html5 mobile apps
Appear
 
LEVERAGING MOBILE DEVICES TO ENHANCE THE PERFORMANCE AND EASE OF PROGRAMMING ...
IJITE
 
Leveraging mobile devices to enhance the performance and ease of programming ...
IJITE
 
Test Cases and Testing Strategies for Mobile Apps –A Survey
IRJET Journal
 
Where Do Cross-Platform App Frameworks Stand in 2020?
Marianne Harness
 
Inria - Software assets - Energy
Inria
 
Large-Scale Empirical Studies of Mobile Apps
SAIL_QU
 
IRJET- Cross-Platform Supported E-Learning Mobile Application
IRJET Journal
 
5 Factors of Mobile App Development & What is Native App.pdf
Leed Software Development
 
James e owen resume detailed jan 2-16
James Owen
 
Mobilesoft 2017 Keynote
Abhik Roychoudhury
 
Ad

More from Olivier Le Goaër (14)

PDF
The road to green code
Olivier Le Goaër
 
PDF
Enforcing Green Code With Android Lint
Olivier Le Goaër
 
PDF
GREEN PAUWARE - For a power-thrifty mobile app marketplace
Olivier Le Goaër
 
PDF
Introduction au langage SQL
Olivier Le Goaër
 
PDF
Les Web Services en 60 diapos chrono !
Olivier Le Goaër
 
PDF
Executable modeling & dynamic adaptation
Olivier Le Goaër
 
PDF
Cours JavaScript
Olivier Le Goaër
 
PDF
Adaptation d'exécution de modèles : vers des iDSML adaptables
Olivier Le Goaër
 
PDF
Formation VBA Excel
Olivier Le Goaër
 
ODP
Android executable modeling: beyond android programming
Olivier Le Goaër
 
PDF
Yet another DSL for cross platforms mobile development
Olivier Le Goaër
 
PDF
Introduction à l'approche ADM de l'OMG
Olivier Le Goaër
 
PDF
Syntaxe concrète des DSL en IDM [avec Xtext]
Olivier Le Goaër
 
PDF
Programmation sous Android
Olivier Le Goaër
 
The road to green code
Olivier Le Goaër
 
Enforcing Green Code With Android Lint
Olivier Le Goaër
 
GREEN PAUWARE - For a power-thrifty mobile app marketplace
Olivier Le Goaër
 
Introduction au langage SQL
Olivier Le Goaër
 
Les Web Services en 60 diapos chrono !
Olivier Le Goaër
 
Executable modeling & dynamic adaptation
Olivier Le Goaër
 
Cours JavaScript
Olivier Le Goaër
 
Adaptation d'exécution de modèles : vers des iDSML adaptables
Olivier Le Goaër
 
Formation VBA Excel
Olivier Le Goaër
 
Android executable modeling: beyond android programming
Olivier Le Goaër
 
Yet another DSL for cross platforms mobile development
Olivier Le Goaër
 
Introduction à l'approche ADM de l'OMG
Olivier Le Goaër
 
Syntaxe concrète des DSL en IDM [avec Xtext]
Olivier Le Goaër
 
Programmation sous Android
Olivier Le Goaër
 
Ad

Recently uploaded (20)

PPTX
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
PDF
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
PDF
Bandai Playdia The Book - David Glotz
BluePanther6
 
PPTX
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
PPTX
Presentation about variables and constant.pptx
kr2589474
 
PDF
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
PPTX
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
PDF
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
PPTX
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
PDF
Protecting the Digital World Cyber Securit
dnthakkar16
 
PDF
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
PPT
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
PDF
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
PDF
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PDF
Exploring AI Agents in Process Industries
amoreira6
 
PPTX
Presentation about variables and constant.pptx
safalsingh810
 
PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
Bandai Playdia The Book - David Glotz
BluePanther6
 
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
Presentation about variables and constant.pptx
kr2589474
 
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
Protecting the Digital World Cyber Securit
dnthakkar16
 
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
Exploring AI Agents in Process Industries
amoreira6
 
Presentation about variables and constant.pptx
safalsingh810
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 

Ecological Impact of Native vs. Cross-Platform Mobile Apps: a Preliminary Study

  • 1. Ecological Impact of Native vs. Cross-Platform Mobile Apps: a Preliminary Study Vincent Frattaroli, Olivier Le Goaër, Olivier Philippot The 6th International Workshop on Advances in Mobile App Analysis September 15th , 2023
  • 2. Mobile software eaten the world… From “There's an App for That” (Apple, 2009), 13 years of continuous growth Mobile software has yielded new addictive behaviours* The industry of mobile development has undergone profound mutations 6.84 billion smartphones 8.93 million mobile apps *Richard J.E. James et al., “Understanding the construction of ‘behavior’ in smartphone addiction: A scoping review”, Addictive Behaviors (Volume 137), February 2023
  • 3. …while the world is facing climate change Manufacturing user devices is the primary source of GHG in ICT field Increasingly demanding software is driving the need to renew hardware Software developers must play their part in the Green Deal (Europe) Software-driven hardware obsolescence
  • 4. Eco-friendly dev stack Patterns & tactics Apply best coding practices to save energy [3] 3 Langages & runtime Choose energy-efficient programming languages [2] 2 Development methodology Choose the right type of development to save energy [1] 1 [1] R. Horn et al., “Native vs Web Apps: Comparing the Energy Consumption and Performance of Android Apps and their Web Counterparts”, IEEE/ACM MOBILESoft 2023, Melbourne, Australia, pp. 44-54. [2] Rui Pereira et al. “Ranking Programming Languages by Energy Efficiency”. Science of Computer Programming, volume 205. Elsevier, 2021 [3] Luis Cruz and Rui Abreu. 2019. “Catalog of energy patterns for mobile applications”. Empirical Software. Engineering. 24, 4 (August 2019)
  • 5. Trendy cross-platform solutions “Write once, run everywhere” motto Kotlin Multiplatform Mobile React Native Flutter
  • 6. Joint work for this study Greenspector 03 ● Mobile measurement company ● Testbench for Android and iOS apps University of Pau / E2S 02 ● Software engineering team ● Research on “Green Software” inside|app 01 ● Mobile app development company ● Build validation app
  • 8. Crosscutting the carbon 3-tier Device Network infrastructure Cloud/Data center (including app stores)
  • 9. 5 codebases, 8 app variants Development kind Framework (version) Target OS Native Swift (5.6) Native Kotlin (1.6.10) Crossplatform KMM (0.3.2) Crossplatform Flutter (2.16.0) Crossplatform React Native (0.69) https://github.com/orgs/TurnipOffApp/repositories
  • 10. Preliminary remarks There is no zoo of mobile apps coded using different methods Coding 1 realistic app using the 5 methods is time consuming (≅10 man-days) Performing such a comparative study on dozens of apps is cumbersome Native & cross-platform development is evolving at a very fast pace
  • 11. Validation app (Worst Movies) Screenshots (iOS) Baseline for a fair comparison ● End user viewpoint ○ Same look&feel ○ Same journey ● Developer viewpoint ○ No advanced architecture ○ No fine-tuning ○ No third-party libraries
  • 12. Testbench in a nutshell powered by Greenspector Developer’s computer GDSL test script App under test 1 - Send test file and app package Real Smartphones Test bench Server Core server Back-end Server Greenspector Premises Web Interface (Dashboard) Result recording 3 - Displaying results 2 - Waiting for live measurements Communication needed if application requires backend access Communication needed if application requires backend access Domain-specific language for fully automated testing
  • 13. Results (partial) Development App size (KB) Data transfer (KB) Energy (mAh) Swift N/A 216 N/A ? N/A 8,59 Kotlin 1200 N/A 944 N/A 21,60 N/A KMM 3600 1600 932 ? 21,66 ? Flutter 17500 18000 1190 ? 18,27 9,19 React Native 27300 13100 706 ? 19,45 11,62 Average data from 10 repetitions
  • 14. At first glance Native development is indisputably the best solution on both OS React Native is by far the less data-intensive solution over the network on Android (No data regarding iOS) Flutter is doing very well in terms of energy-savings, on both OS
  • 15. Takeways Targeting iOS only Apps with few network interactions Other cases Always Native development In general, Native development No general rule of thumb But nothing beats an app “sober-by-design”
  • 16. Conclusion Ecological impact of app development methods is an understudied topic Including iOS in the study is our pride, but also our weakness (missing values) This study ought to be continued: repeat experiment, new releases, etc. Our github repo may bootstrap research works about native vs. cross-platform
  • 17. Thank you for your attention