The re-compiled Firefox is much faster.

Source: Internet
Author: User
The re-compiled Firefox is much faster-the Linux Release Technology-Debian information. The following is a detailed description. Since I upgraded Debian from lenny to sid, the speed of my IceWeasel (Firefox) has become incredibly slow, especially when using Google Reader and Gmail. Today finally unbearable, to the http://releases.mozilla.org/pub/mozilla.org/ to download the Firefox 3 Beta 3 source code compilation. The attempt to use ICC as a compiler always reports a strange compilation error about dynamic_cast somewhere. Give up and switch to GCC. (I used apt-build in combination with ICC to successfully compile iceweasel, but a segment error occurred during the runtime. Why can't I pass it now ?) After compilation, Firefox is much smoother (this time is definitely not a psychological effect ...), I don't know whether this is due to recompilation or Firefox 3's improvement.

Compilation options:
$ Export CC = 'gcc-march = prescott-msse3-fomit-frame-pointer'
$ Export CXX = 'G ++-march = prescott-msse3-fomit-frame-pointer '(both gcc and g ++ are 4.2.3)
$ .. /Mozilla/configure -- enable-application = browser -- disable-nls -- disable-updater -- disable-crashreporter -- disable-mathml -- enable-official-branding -- with-system-jpeg -- -system-zlib -- with-system-nspr -- with-system-nss
$ Make-j2
$ Su
# Make install

-- With-system-png cannot be used. The system libpng does not support APNG (Animated PNG); -- with-system-cairo also fails, and the libcairo version of the system itself is not enough ......
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.