One of the reasons mozilla launches faster on Windows is they combine
the .xpt files in bin/components into two: one for the browser and one
for mailnews. Until warpzilla distributions are packaged this way, you
can do it at home by running the xpt_link.exe utility found in /bin.
Usage is simple:
xpt_link newfile.xpt oldfile1.xpt oldfile2.xpt oldfile3.xpt [...]
Here are the commands I used to generate browser.xpt and mailnews.xpt
after cd'ing into bin/components:
../xpt_link browser.xpt appshell.xpt autocomplete.xpt bookmarks.xpt
caps.xpt chardet.xpt chrome.xpt cookieviewer.xpt directory.xpt
docshell.xpt dom.xpt editor.xpt exthandler.xpt gfx.xpt history.xpt
intl.xpt jar.xpt jsurl.xpt layout.xpt layout_base.xpt layout_xul.xpt
locale.xpt mimetype.xpt mozbrwsr.xpt mozcomps.xpt mozfind.xpt
mozucth.xpt mozxfer.xpt necko.xpt necko_about.xpt necko_cache.xpt
necko_data.xpt necko_dns.xpt necko_ftp.xpt necko_http.xpt necko_jar.xpt
necko_res.xpt necko_socket.xpt necko_strconv.xpt oji.xpt plugin.xpt
pref.xpt prefmigr.xpt profile.xpt proxyObjInst.xpt psmglue.xpt rdf.xpt
regviewer.xpt related.xpt remote.xpt sample.xpt search.xpt shistory.xpt
sidebar.xpt signonviewer.xpt timebomb.xpt txmgr.xpt uconv.xpt
unicharutil.xpt uriloader.xpt urlbarhistory.xpt util.xpt wallet.xpt
walleteditor.xpt walletpreview.xpt webBrowser_core.xpt webshell_idls.xpt
widget.xpt xml-rpc.xpt xmlextras.xpt xmlsoap.xpt xpcom_base.xpt
xpcom_components.xpt xpcom_ds.xpt xpcom_io.xpt xpcom_threads.xpt
xpcom_xpti.xpt xpconnect.xpt xpinstall.xpt
../xpt_link mailnews.xpt absync.xpt msgbase.xpt msgcompose.xpt msgdb.xpt
msgimap.xpt msglocal.xpt msgnews.xpt msgsearch.xpt mailnews.xpt mime.xpt
import.xpt
cmd.exe choked on the length of the former, so I ran it as a script in a
bash shell. If you don't have another shell that digests long commands,
you can merge incrementally: for example, split the list in three to
create browser1.xpt, browser2.xpt and browser3.xpt, and then merge
those.
Once that's done, move|rename|delete all the .xpt files except for
browser.xpt and mailnews.xpt. I also deleted xpti.dat and xptitemp.dat,
as well as mozregistry.dat and components.reg to be safe; this may or
may not be necessary, but they're all regenerated if not found.
After the inevitably longer first launch, here this reduced launchtime
from about 35 to 25 seconds. Not a huge gain, but definitely an
improvement.
h~