Comparing the Performance between Native iOS (Swift) and React-Native

John Anthony Calderaio
The React Native Log
11 min readFeb 22, 2017

--

This article was reformatted for the React Native Log from my published Summa Cuma Laude thesis at the University of Florida. If you wish to read the original, here is the link: https://ufdc.ufl.edu/AA00058596/00001

React-Native is a cross-platform mobile framework that lets you build apps using only JavaScript. However, unlike other hybrid mobile technologies, you are not building a “mobile Web App” (Web App wrapped in a native container). In the end, you get the real thing. Your JavaScript codebase is compiled into a mobile app indistinguishable from an iOS app built using Objective-C or an Android app using Java. This means that React-Native provides the benefits of both Native and Hybrid Mobile Apps.

My goal is to find out if they can deliver exactly what they promise. To achieve this, I will need to build the same app in both Swift and React-Native; it needs to be simple enough so that I can learn both languages and complete the apps in time, but complex enough so that it allows me to compare the CPU, GPU, Memory Usage, and Power Usage of each app. The app will have four tabs. The first one will be named “Profile” and will prompt the user to log in to Facebook in order to retrieve the user’s profile photo, name, and email and display them on the page. The second tab will be called “To-Do List”…

--

--

John Anthony Calderaio
The React Native Log

Writer, engineer, chemist, musician, & husband. Check out my band, “Secret Tunnel”: https://linktr.ee/Secrettunnelmusic