Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Firefox 64 binaries - LLVM6+PGO+LTO now used, faster than GCC6.4+PGO
Date: Wed, 12 Dec 2018 04:54:52
Message-Id: CAC=wYCH=qA7njQrycXfULUvgSdRe9z=wMhPrTbLUQYmHJjThNg@mail.gmail.com
1 https://www.phoronix.com/scan.php?page=news_item&px=Firefox-Clang-LTO-All-Platforms
2
3 "Firefox nightly builds are now built with the LLVM Clang compiler on all
4 major platforms and the Linux build in particular is also now utilizing PGO
5 optimizations too. Faster Firefox is coming thanks to this compiler work.
6
7 All of Mozilla's tier-one platforms are now building the newest Firefox
8 browser code under the Clang compiler and having LTO (Link Time
9 Optimizations <https://www.phoronix.com/vr.php?view=17785>) enabled. That
10 includes Linux, Mac, Android, Windows across ARM / AArch64 / x86 relying
11 upon this open-source compiler. For now only the Linux builds also have PGO
12 (Profile Guided Optimizations <https://www.phoronix.com/vr.php?view=26589>)
13 enabled.
14
15 With the compiler re-tooling on Linux they are seeing about 5% better
16 performance and upwards of 18% in select tests compared to their previous
17 GCC (6.4-based) compiler with PGO. The current Clang stack they are using
18 is based on LLVM6 while when they transition to the upcoming LLVM/Clang 7.0
19 they expect 2~5% better performance on top of that.
20
21 Mozilla developers did try GCC LTO as well as switching to the newest GCC8
22 release, but ran into problems. These new release binaries should go into
23 effect for the Firefox 64 release."