Closed Bug 1218988 Opened 10 years ago Closed 7 years ago

Aggregate and bundle JS files into groups for bootstrapping/lazyloading

Categories

(Firefox OS Graveyard :: Gaia::Build, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zbraniecki, Assigned: zbraniecki)

References

Details

Attachments

(1 file)

Assignee: nobody → gandalf
Ok, seems very intriguing. I started reworking webapp-optimize to behave similarly for locales and js (I can even imagine using similar grouping strategy for locale resources one day). I didn't get LazyLoader updates, so for now it's getting the startup path code, but erroring on LazyLoaded stuff, but first results: music.gaiamobile.org base: mean 2: mean 2: delta 2: p-value --------------------- ---------- ------- -------- ---------- navigationLoaded 751 732 -19 0.10 navigationInteractive 780 760 -20 0.08 visuallyLoaded 1241 1163 -78 * 0.00 contentInteractive 1241 1163 -78 * 0.00 fullyLoaded 1546 1358 -188 * 0.00 uss 17.701 14.451 -3.251 * 0.00 rss 37.380 33.836 -3.544 * 0.00 pss 21.991 18.788 -3.203 * 0.00 and that's even *before* I was able to get any optimizations in. I don't trust the mem numbers because I believe that once we load the lazyloaded pieces it will be a smaller win, but there still should be a good mem win because I'm able to reduce the size of the .zip package from 3.2mb to 2.1mb.
See Also: → 1215513
Attached file pull request
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: