[1] https://bugzilla.mozilla.org/show_bug.cgi?id=418865
The all-new Firefox for Android (codename Daylight) is lightening fast, and perceptibly seems on-par with the Chrome for Android in terms of responsiveness.
What stumps me is Chrome for Android is 3.8MB whereas Firefox Daylight is upwards of 40MB.
Would it be possible for Google to publish the profile data along with the source code to enable those who compile from scratch to have these same optimizations?
>I'm surprised Chrome wasn't already taking advantage of PGO.
They have been on windows since M53 (released in 2016), but this seems to be a better implementation and it's now for MacOS as well now.
It is rolling out with Chrome M85 on Mac and Windows.
Never mind. This [1] says: Starting in Chrome 53, Chrome has started using
Microsoft’s Profile Guided Optimization (PGO)
technology to make Chrome up to 15% faster
on Windows.
This strongly implies Google was using MSVC for the M53 build.[1] https://blog.chromium.org/2016/10/making-chrome-on-windows-f...
So it sounds like they've been using PGO for a while using MSVC, and now they've started using PGO with Clang.
They do.
https://chromium.googlesource.com/chromium/src.git/+/master/...
[0] https://firefox-source-docs.mozilla.org/build/buildsystem/pg...
Normally there's a simple make target, like chrome.pgo to create the initial binary chrome, run the testsuite with pgo or better autofdo via perf and from this create the optimized chrome.pgo. using Facebook's bolt is even better.
I have no idea about Google's byzantinian bazel tool. With make it's a simple target which automates these steps.
https://yoric.github.io/post/why-did-mozilla-remove-xul-addo...