Emerge Tools
Emerge Tools
@emergetools
Jul 10 7 months ago 11 tweets Read on X
AI Summary

Exactly a year ago, we talked about iOS app size, and now Gmail's size is still growing, mainly due to big app files, many localizations, and tiny files adding up. Gmail could cut thousands of small files and unused languages to reduce size. We've also open-sourced tools to help make iOS apps faster and better. Thanks for following along!

Exactly 1 year ago today, we had our biggest tweet ever about 's iOS app size

And funny enough, Gmail's size is making the rounds again

🧵 Looking at why Gmail is ~700 MB (+ why it's increased by 100 MB in the last year)

Tweet image 1

Here's the original thread - would recommend checking it out for more info, but TL;DR

- Large main app binary
- Localizations
- Big share extension plugin
- Overhead from having many files in the app

@emergetools
Good question @VishalMalvi_ ! Here's what's going on behind the scenes of the @gmail iOS app 👇 https://t.co/PTWPUlBaNh

Over the last year, Gmail has increased by 100+ MB

Most of that is coming from increases to the areas mentioned above

2024 → 2025
📱Main App Binary: 223 MB → 285 MB
🌐Localizations: 130 MB → 150 MB

Tweet image 1

150 MB of localizations is crazy and it's uniquely an iOS problem

On iOS, a user downloads every language an app supports, regardless of if they use it or not

But there is a way to optimize this

An app like Gmail supports ~60 languages + has thousands of localizations

See thread for more detail, but Gmail could cut localization size by ~90% (135 MB) if they compressed unused languages and changed storage format to de-dupe keys

@emergetools
The largest iOS apps all have a common problem

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

Another fun iOS quirk - what if I told you that of Gmail's 100 MB increase, 25 MBs are simply because Gmail added a lot of small files ☠

On iOS, minimum file size allocation is 4.1 kB. That means that even if an app is under 4 kB, it will be 4 kB when shipped in the app

2024 → 2025, Gmail added 6k files < 4 kB

Those 6k files caused an additional 22 MB in bloat from incremental app size (Also had 3 MB increase in Code Resources file, see og thread)

In all, Gmail could shave off another ~80 MB by moving its small files to an asset catalog

Tweet image 1

Well this was fun to do again, appreciate everyone who tagged us in the thread going around 🫶

We've been hard at work integrating into and have completely open-sourced two of our Emerge products 🎉

Here's our post on open sourcing Launch Booster, which tbh every single iOS app should use b/c it just makes your app faster like magic

And just this week we open sourced Reaper b/c in the words of Bertram Gilfoyle, the best way to get rid of all the bugs is to get rid of all the software (and also to use Sentry)

S/o for the initial post

@aarongrider
Gmail is close to 700mb on iOS... does anyone even notice or care? https://t.co/BIFXoi5QdM

Missing some Tweet in this thread? You can try to Update

More Threads by @emergetools

8 tweets • 9 days ago
Read Thread
11 tweets • 1 month ago
Read Thread
Most big iOS apps have huge localization files, taking up lots of space. Airbnb cut theirs by 82% using two tricks: comp...
21 tweets • 3 months ago
Read Thread
This thread explains why the iOS app is 699MB, mostly due to large dynamic frameworks (64%) and assets. They suggest qui...
7 tweets • 4 months ago
Read Thread
The Tesla iOS app is 760MB mainly because of a large Godot .pck file for 3D features, which can be decompiled and optimi...
13 tweets • 4 months ago
Read Thread

Unroll Another Thread

Convert any Twitter threads to an easy-to-read article instantly

Have you tried our Twitter bot?

You can now unroll any thread without leaving Twitter/X. Here's how to use our Twitter bot to do it.

  • Give us a follow on Twitter. follow us
  • Drop a comment, mentioning us @unrollnow on the thread you want to Unroll.
  • Wait For Some Time, We will reply to your comment with Unroll Link.
UnrollNow Twitter Bot
Modal Image
0:00 / 0:00