Me dad was complaining that his Firefox takes ages to start up and didn’t want to run yet another application in the background.
So I hit google and came up with UPX, Ultimate Packer for eXecutables. What it does, is very simple: It compresses the .exe and all the DLLs associated with said .exe! Thus reducing its total size and load time.
for %v in (*.dll *.exe
plugins
\*.dll components\*.dll) do upx "C:\Program Files\Mozilla Firefox\%v" -9
Should you, for whatever reason, need to decompress and get the original files back, run this command
for %v in (*.dll *.exe plugins\*.dll components\*.dll) do upx "C:\Program Files\Mozilla Firefox\%v" -d
What does it do?
It compresses all the DLLs and all the *.exe in C:\Program Files\Mozilla Firefox, then it goes to C:\Program Files\Mozilla Firefox\plugins and compresses all the DLLs, lastly it goes to C:\Program Files\Mozilla Firefox\components and compresses the DLLs in there. The -9 is for the best possible compression. The -d is for decompression.
My dad’s Firefox folder went from 31 MB down to 20 MB. A 35% save!
The best bit?
UPX is usable on any other application you have. As long as they have *.exe and DLLs, you can use UPX on it.
We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show personalized ads. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
5 Comments
Yes this is very informative…bt here I found better option..
Its very interesting and tested OK…
Make Firefox Super Fast : AIO : ProBlogBooster
Wouldn’t compressing the ddls and exe require firefox to uncompress them at start-up or during runtime?
If that’s the case then it sounds to me as it isn’t really worth the 11 mb gain.
I haven’t really thought of that. But let’s say it’s during runtime, then no, it doesn’t matter, I suppose. Because then Firefox still has 11mb less to load, thus loading faster.
But if it were to uncompress while starting up, then yes, the whole procedure would be moot. I guess, I’d have to check up on that.
Yes, Firefox does have to decompress. However, on today’s processors, decompression is significantly quicker than spooling the extra data from the HDD (which haven’t changed that much in years).
Thanks for clearing that up.