使用UPX加快firefox的启动速度!

 

How to Make Firefox Load Faster

起因: 今天稍微整理了一下电脑的浏览器,把IE8 升级为IE9了,体验还不错。然后把最常用的Firefox的扩展给清扫了一遍,加快了Firefox的启动速度。可惜启动速度跟IE 9比起来还是差多了,IE9启动时间可设置超过0.1-0.5秒或者1秒就会提示禁用加载项来提高启动速度。firefox呢?我决心加快一下Firefox的启动速度。

基于以前有做过此等事情,国内各大网站上的启动提速方法大同小异,没什么新意。于是google外文,找到了UPX ,现在还没体验,因为想先了解一下UPX到底是啥东西后再用,也奈何自己的E文水平较为挫劣,只要一点一点地翻译。便于自己理解了。

E文来源:

①:http://upx.sourceforge.net

②:http://www.techsupportalert.com/how_to_make_firefox_faster.htm

说明:

翻译文章只是为了提高自己的英文阅读能力。以我现在刚过四级的水平,在译文中,必然会出现很多生涩的翻译或者错误,还请各位看官指出!谢谢~

译文1:

UPX achieves an excellent compression ratio and offers very fast decompression. Your executables suffer no memory overhead or other drawbacks for most of the formats supported, because of in-place decompression. UPX strengths in a nutshell:
   UPX 实现了一个优秀的压缩比并提供了非常快速的解压缩。因为原地解压缩,你的可执行程序为了提供大部分的格式支持而忍受着无内存开销或者其他的缺点。下面简单地说一下UPX的优势:

    * excellent compression ratio: typically compresses better than WinZip/zip/gzip, use UPX to decrease the size of your distribution!

    *优 秀的压缩比:在通常的压缩应用中比WinZip/zip/gzip表现得更优秀,使用UPX来为你发布的产品瘦身吧!
    * very fast decompression: ~10 MB/sec on an ancient Pentium 133, ~200 MB/sec on an Athlon XP 2000+.

    *高效率的解压缩:超过10MB/秒 的解压速度在老奔腾133机器上,超过200MB/秒的解压速度在 Athlon 2000+的XP系统上。
    * no memory overhead for your compressed executables because of in-place decompression.

    *压缩你的可执行文件的时候不需要内存开销,因为(使用了)原地解压缩(技术)。
    * safe: you can list, test and unpack your executables. Also, a checksum of both the compressed and uncompressed file is maintained internally.

    *安 全:你可以列出,测试和解压缩你的可执行文件。而且,压缩和解压缩文件的校验和都在内部进行维护。
    * universal: UPX can pack a number of executable formats.

    *通用的:UPX可以包装成一些可执行文件的格式。
    * portable: UPX is written in portable endian-neutral C++ .

    *便携:UPX 用便携的 endian-neutral C++来写成的。
    * extendable: because of the class layout it's very easy to add new executable formats or new compression algorithms.

    *可扩展的:UPX的类框架使得它非常容易增加新的可执行文件格式的支持或者新的压缩算法。
    * free: UPX is distributed with full source code under the GNU General Public License v2+, with special exceptions granting the free usage for commercial programs as stated in the UPX License Agreement.

    *自由:UPX在GNU通用公共许可证Lv2+版本下发布所有的源代码,如同上面的UPX许可声明所说的那样,除了特例商业软件以外,准许自由免费地使用。

You probably understand now why we call UPX the "Ultimate Packer for eXecutables". UPX aims to be commercial quality free software, based on experience with our previous packers (DJP, lzop, and the NRV library).

现在也许你已经了解了为什么我们把UPX称作”Ultimate Packer for eXecutables“了。UPX目的是以我们从前的压缩产品(DJP,lzop,和NRV 库)为基础,逐步使得UPX成为具有商业品质的免费软件。

译文2:

How to Make Firefox Load Faster

Firefox may run quickly but it loads slowly; here's how to fix it.

  让Firefox启动更快速

2010年1月6号-21:53  由 gizmo.richards 更新

Firefox可以运行得很快但是它载入却很慢;这里将讲述如何修复这个问题。

 

(This tip is for experienced computer users only.)

(这个小技巧仅适用于那些有经验的电脑使用者)

You can slash Firefox's slow load time by compressing the DLLs and executables. There are many choices for compression but I suggest you use UPX which is free, efficient and time proven.

你可以批评Firefox在压缩DLLs和可执行文件时那缓慢的载入时间。有许多压缩的选择但我建议你使用免费,高效率并久经时间考验了的UPX。

 

  1. Download UPX from http://upx.sourceforge.net/#download
  2. Unzip upx.exe into your Firefox installation folder which is normally C:/Program Files/Mozilla Firefox.
  3. Make sure Firefox is not running then shell to a command prompt in the Firefox installation directory.
  4. Type in the following command in a single line and hit return:

for %v in (*.exe *.dll components/*.dll plugins/*.dll) do upx "C:/Program Files/Mozilla Firefox/%v"

      1.下载 UPX 从这个网址:   http://upx.sourceforge.net/#download

      2.解压缩 upx.exe 到你的firefox安装文件夹,通常是 C:/Program Files/Mozilla Firefox 。

      3.确定firefox没有在运行,然后在命令提示符中定位到firefox的安装目录下。

      4.输入下面的单行命令,然后敲回车键返回。

      for %v in (*.exe *.dll components/*.dll plugins/*.dll) do upx "C:/Program Files/Mozilla Firefox/%v"

  • If on some later occasion you want to unpack the files, just type in the command above but add the decompression switch "-d" after "do upx."
  • 如果在以后的某时候你想解压这个文件,只需输入以上的命令并在“do upx”后增加一个解压缩的命令开关“-d”即可。

That's it; enjoy the difference!

就是这样!去体验这个改变吧!

辛苦翻译,转载请注明出处哦:http://student.csdn.net/space.php?uid=130233&do=blog&id=51097

哈哈~这是从我的CSDN笔记转过来的,只是希望能有更多人知道而已!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值