Hi,

There were two articles in my blog explaining the technology used:
http://alivedise.logdown.com/posts/258093-new-bootstrap
http://alivedise.logdown.com/posts/263808-new-bootstrap-cont

I will recap and post on mozilla wiki, too.

Briefly what had been done:
* Find out the critical launch and critical modules to be loaded and
started to reach 'visuallyLoaded' of the system app
* Lazy load all other non-critical modules and chaining the initialization
in a big promise chain to know when is 'fullyLoaded' of the system app
* Develop some necessary libraries: a middleware to resolve circular module
dependency, a basic class to help to build the dependency tree between
modules.

Thanks for all the reply!

2015-06-01 19:04 GMT+08:00 Soledad Penadés <[email protected]>:

>  Good work, Alive! :-)
>
> Could you please help me understand this better and impress outsiders to
> the project by succinctly telling me what was the main change that made it
> possible to shave off those 10 seconds? I tried to follow the bug but it
> is... long... and I do not know about all the context, so I can't follow.
>
> Thanks in advance
>
> sole
>
>
> On 01/06/2015 09:47, Alive Kuo wrote:
>
> (was: Re: Improving device startup time (a.k.a. system app launch time)
> and future work
>  in dev-gaia:
> https://groups.google.com/forum/#!topic/mozilla.dev.gaia/fiYXs5RIqgk)
>
>  Hi,
>
>  I just landed bug 1094759 and result in 10 sec improvement on system
> app's launch time. If you see any issue with this, please don't hesitate to
> file a bug and needinfo me. Thanks everyone who had contributed his review
> and testing on this patch.
>
>  -Alive
>
>  * Bug link
>   https://bugzilla.mozilla.org/show_bug.cgi?id=1094759
>
>
>
> _______________________________________________
> dev-b2g mailing 
> [email protected]https://lists.mozilla.org/listinfo/dev-b2g
>
>
> -- http://soledadpenades.com
>
>
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
>
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to