Closed
Bug 1108955
Opened 10 years ago
Closed 10 years ago
Improve the speed of build_stage
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Firefox OS Graveyard
Gaia::Build
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rickychien, Unassigned)
References
Details
Attachments
(1 file)
We should figure out whether build_stage is a necessary step for build process or speed up in another way.
Comment 1•10 years ago
|
||
It takes between 1 and 6s to rebuild an app with `APP=foo make`.
It is too much. It should be faster, especially in developer mode, without all optimization (minification, compression, multilocale, ...).
Comment 2•10 years ago
|
||
I was able to save 1s of build time with this naive optimization in multilocale optimize step...
But I think we could win even more with better data structure or some better algorithm to do this!
So the system app now takes 2s to build instead of 3s.
Attachment #8556484 -
Flags: review?(stas)
Comment 3•10 years ago
|
||
Also I looked at why clock is taking 2s to build, most of this time is spent in r.js and it is not really clear what we do here and what precise code is taking almost a second to process this simple app.
Comment 4•10 years ago
|
||
Comment on attachment 8556484 [details] [review]
Pull request 27780 - tweak multilocale optimize step
For-loop caching ftw! Thanks :) r=me with a suggestion left on github.
Attachment #8556484 -
Flags: review?(stas) → review+
Comment 5•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•