Emerge Tools Profile picture
Emerge helps teams like @Spotify, @Duolingo, @Bumble, @Square, @Tinder, @Dropbox, @OpenAI & @CashApp build better mobile apps ๐Ÿš€ Now a part of @Sentry ๐Ÿง 

May 18, 2023, 8 tweets

So, what does the @OpenAI ChatGPT iOS app look like under the hood? Well we took a look at a decrypted build

๐Ÿงต How the ChatGPT iOS app is made

Overall install size is 41.9 MB and has a fairly simple structure. Here's our X-Ray treemap

The main thing that stands out is they're shipping 18 MB worth of debug symbols in the app. Nothing stood out when we sifted through

It's best practice to strip these out and is particularly easy to do since they only need to strip from their main app binary

ChatGPT isn't linking any dynamic frameworks, helping keep it's size small. We can see some modules they're linking statically

@mixpanel for analytics
@datadoghq for logging
@getsentry for performance monitoring
@RevenueCat for payments
@auth0 for authentication
+ others

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 ๐Ÿค–

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling