Currently we concatenate js files in gaia_build_defer_XXX.js but we also store the origin js files in the zip. This patch filters out these duplicates. The gains are not great (a bit less than 1MB), but I see no reason to keep duplicates. Yuren, what do you think?
That's great, we should fix it!
Assignee: nobody → yurenju.mozilla
This pull request is based on Fabrice's patch and it looks good on my side. I will set the review flag if travis-ci turns green. https://travis-ci.org/mozilla-b2g/gaia/builds/17266217
before is 25,268 KB now is 24,505 KB
travis passed https://travis-ci.org/mozilla-b2g/gaia/builds/17266217
Comment on attachment 8362436 [details] [review] github PR: https://github.com/mozilla-b2g/gaia/pull/15524 Tim, Could you help to review it? thanks!
Comment on attachment 8362436 [details] [review] github PR: https://github.com/mozilla-b2g/gaia/pull/15524 I disagree with the fix. Do we really need a untracked file to tell which file to exclude? Is there a better API? Or there is but you just want to save some time now and deliver proper fix later?
okay, let's find some better way.
not much since last week got a lot of review.
Tim, I would like to know the priority of this bug since it only took 700KB from storage which mentioned on comment 3
We could put this on the pending queue for tarako priority, but this remain a valid bug.
Component: Gaia → Gaia::Build
we can just remove these files when optimization done since we have build_stage for all apps now, but it should dependy on bug 987487
Depends on: 987487
un-assign myself since I don't have enough bandwidth to fix it.
Assignee: yurenju → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.