Closed Bug 1007216 Opened 10 years ago Closed 10 years ago

[tarako] Trim package size by removing unneeded locales and icons

Categories

(Marketplace Graveyard :: Consumer Pages, defect)

Avenir
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2014-05-13

People

(Reporter: robhudson, Assigned: robhudson)

References

Details

(Keywords: perf)

Latest zip size locally was 683k and unzipped locales on disk are > 700k. Let's investigate only including the India languages + English + French and see how it affects package size.
Note: we are also including app icons in the package, but I don't think we are using that anymore, we should consider removing them as well (or fix the preloaded stuff to use them, but that might be a lot of work for something we don't really care about)
If we only include the required languages:

> bn_IN, en-US, hi_IN, ru, ta

If we add French for testing:

> bn_IN, en-US, fr, hi_IN, ru, ta

If we add the other 100% (or super close) complete languages:

> bn_BD, bn_IN, cs, de, en-US, es, fr, hi_IN, it, ja, mk, nl, pt_BR, ru, sq, ta, zh_CN, zh_TW
(In reply to Wil Clouser [:clouserw] from comment #2)
> If we only include the required languages:
> 
> > bn_IN, en-US, hi_IN, ru, ta

-rw-r--r--  1 rob  staff   493K May  7 11:30 latest_prod.zip

> If we add French for testing:
> 
> > bn_IN, en-US, fr, hi_IN, ru, ta

-rw-r--r--  1 rob  staff   496K May  7 11:31 latest_prod.zip

> If we add the other 100% (or super close) complete languages:
> 
> > bn_BD, bn_IN, cs, de, en-US, es, fr, hi_IN, it, ja, mk, nl, pt_BR, ru, sq, ta, zh_CN, zh_TW

-rw-r--r--  1 rob  staff   537K May  7 11:32 latest_prod.zip

And with all (how it is now):
-rw-r--r--  1 rob  staff   661K May  7 11:33 latest_prod.zip
(In reply to Mathieu Pillard [:mat] from comment #1)
> Note: we are also including app icons in the package, but I don't think we
> are using that anymore, we should consider removing them as well (or fix the
> preloaded stuff to use them, but that might be a lot of work for something
> we don't really care about)

Commenting out "downloads/icons/" from the Makefile input reduces the package size to:
-rw-r--r--  1 rob  staff   378K May  7 11:35 latest_prod.zip

from:
-rw-r--r--  1 rob  staff   661K May  7 11:33 latest_prod.zip
Assignee: nobody → robhudson.mozbugs
PR: https://github.com/mozilla/yogafire/pull/28
Summary: [tarako] Investigate package sizes with and without locales → [tarako] Trim package size by removing unneeded locales and icons
https://github.com/mozilla/yogafire/commit/757f8f6 

Please verify the following locales work if we can:
bn_IN, en-US, fr, hi_IN, ru, ta
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2014-05-13
Blocks: 992365
You need to log in before you can comment on or make changes to this bug.