Firefox OS/Performance/Boot Sequence Optimization: Difference between revisions

Jump to navigation Jump to search
Line 78: Line 78:


A rough idea of what we are seeing currently, as well as empirical hypotheses (Have i found my 5 seconds yet?):
A rough idea of what we are seeing currently, as well as empirical hypotheses (Have i found my 5 seconds yet?):
* B2G starts after roughly 8s of "stuff"
* B2G starts after roughly 8s of mysterious "stuff"
* It has been noted that time between 5s and 8s is likely script execution up 'till `start main`                                                                   
* It has been noted that time between 5s and 8s is likely script execution up until |class_start main| in the init.rc
* Vertical comes up around 16s, although I feel like some time as been lost... (by stopwatch it seems longer than that)
* Vertical comes up around 16s, although I feel like some time as been lost... (by stopwatch it seems longer than that)
* As well it seems init is only really alive at 4 seconds anyway (based on inserted kernel log output)  
* As well it seems init is only really alive at 4 seconds anyway (based on inserted kernel log output)


* As such it is likely that                                                                        
* As such it is likely that
** 3.5s = bootloader + kernel                                                                                                                        
** 3.5s = bootloader + kernel
**  0s = kernel timing initialized                                                                                                          
**  0s = kernel timing initialized
**~4.5s = init main                                                                                                                    
**~4.5s = init main
** 7~8s = B2G                                                                                                                          
** 7~8s = B2G
** ~14s = (Nuwa)
** ~14s = (Nuwa)
** ~16s = Vertical
** ~16s = Vertical


Of course, more concrete data will be explored later, but that is the general gist of th
Of course, more concrete data will be explored later, but that is the general gist of things


==References==
==References==
[https://developer.mozilla.org/en-US/Firefox_OS/Platform/Architecture#Firefox_OS_bootup_procedure Firefox OS Bootup Procedure]
[https://developer.mozilla.org/en-US/Firefox_OS/Platform/Architecture#Firefox_OS_bootup_procedure Firefox OS Bootup Procedure]
Confirmed users
125

edits

Navigation menu