Changes

Jump to: navigation, search

Mobile/Fennec/Architecture

456 bytes added, 16:28, 4 February 2009
Post-Pageload Work
===Post-Pageload Work===
Any work that occurs while the page is loading is potentially bad for performance. This includes any time consuming work that happens in the page "load" event handler. Users like to start interacting with page content as soon as possible. Fennec even delays updating the web page favicon until the page finishes loading. Fennec also had a time consuming process, converting plain text phone numbers to tel: links, that fired as soon as the page loaded. This process blocked the user from interacting with the page for a noticeable time period. The process was re-worked and became much faster. The blocking behavior was no longer noticeable and the user could interact with the page faster.
===File I/O===
Various places in the platform had file I/O code that was slowing Fennec down, usually on startup. Keep in mind, file I/O on mobile devices is usually measured in milliseconds. So try to avoid useless I/O whenever possible. Fennec startup improved from around 30 seconds (yes) for a first-time, cold start in Alpha 1 to around 7-10 seconds in Alpha 2.
Canmove, confirm, emeritus
2,798
edits

Navigation menu