We also took a look at their startup using ETTrace ๐๐๐
Their overall startup time is very fast, really only initializing a few of their included frameworks with no obvious bottlenecks
You can use ETTrace as a local and open-source way to profile any iOS app, check it out here github.com/emergeTools/etโฆ
Right now, it looks like the app just forwards the query / responses to and from OpenAI's servers. Nothing of note, but we'll definitely be monitoring any updates to the app and waiting for the Android version ๐ค
โข โข โข
Missing some Tweet in this thread? You can try to
force a refresh
What happens to an app's performance when it goes from react native -> native?
The @peacock app just made the switch on iOS & Android and had a significant change in size and startup time
๐งต Performance impact of switching to native
A quick primer
RN let's you create mobile apps for Android and iOS using js & react. 1 codebase, 2 apps. It has an active community & there are certainly reasons you'd want to use RN
That said, if performance is important, native is going to be better
A few reasons
- JS is an interpreted language vs. native (Swift & Kotlin) is compiled
- RN is *mostly* singled threaded. Concurrency is complex and not as performant
- Native has easier access to device & OS features. RN requires more libraries to achieve functionality
Localization files account for
23% (74 MB) of @Uber
23% (30 MB) of @WhatsApp
17% (53 MB) of @MicrosoftTeams
17% (50 MB) of Nike Run Club
๐งต Here's how Airbnb reduced the size of localizations by 82% with the help of Emerge
First, a quick primer on localization files
Localization files are used to store translations of text in your app. Each file is a list of key-value pairs for text that need translating. These files exist for every language your app supports
When a user downloads your app, every localization file is included in the app bundle
At runtime, the OS loads the localization file of the user's preferred language
So despite most users only using one language, the files for all supported languages are downloaded