On Sun, Mar 29, 2015 at 2:08 PM, Richard Newman <[email protected]> wrote:

> Firefox 14, June 2012: 17MB.
> Firefox 21, May 2013: 23MB.
> Firefox 26, December 2013: 25MB.
> Firefox 33, November 2014: 34MB.
> Firefox 36, February 2015: 36MB.
> Firefox 39 Nightly, today: 39MB.
>

Just checking: Are you comparing the same channels? Nightly is a lot bigger
due to the symbols used for debugging and profiling.

Still, it obvious the app is growing too fast.


>
>
> Our current Gingerbread split APK saves 3MB on this. In other words, the
> gains of months of build and releng work was wiped out in *one month* of
> routine development.
>
> I think we need to get a handle on this.
>
> We are 80% of the way towards the largest possible APK (50MB), and we're
> already large enough that Fennec is too big to install on a Shitphone® that
> I bought off Amazon last year.
>
> We're growing about 10MB per year, so by *March 2016* we will hit that
> hard limit.
>
> omni.ja is about 9MB. libxul is now 16MB. NSS is about 800KB. classes.dex
> is about 5MB. The rest is assets; about 6MB on disk, most of which is
> images, layout and preferences XML, and color definitions.
>
>
> Introducing more APK splits — which, looking at these numbers, seems an
> inevitability — is likely to save us no more than 3MB on each screen
> density. That implies that we need to aggressively pursue additional
> solutions.
>
>
>    - More aggressive ProGuarding might save us up to a meg. I don't see a
>    bug on file for this.
>    - Bug 1115004 (fine-grained Google Play Services libs) might help, but
>    IIRC we already ProGuard these.
>    - Continuing to chop away at omni.ja might save us another meg. (See
>    Bug 1044079).
>    - We ought to look at build flags that turn off features in libxul and
>    libnss that we don't use on Android. (Bug 1115000, Bug 611781, maybe
>    others.)
>    - At some point I'll disable reftests on Gingerbread and remove 5MB of
>    fonts from constrained builds. That doesn't help 95% of our users, though;
>    I think we're unwilling to rely on system fonts on all platforms.
>    - Eventually we should move on Bug 945123 to download locales, saving
>    us about 60KB per locale (which I think is over 3MB now!).
>
>
>
These are good ideas. We also have spellcheck dictionaries and hyphenation
dictionaries that could be downloaded after install. Same for the Font
files.

These changes would help the initial download, but not the space-on-disk
size.
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to