News for hackers. Stuff that matters.
Re:Chrome just got faster with Profile Guided Optimization by Klathmon on Tuesday August 25, 2020 @02:05PM (#24274135)
>It's why official builds will generally be faster than compiling from scratch yourself.

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.

Re:Chrome just got faster with Profile Guided Optimization by jeffbee on Tuesday August 25, 2020 @03:42PM (#24275206)
> Would it be possible for Google to publish the profile data

They do.

https://chromium.googlesource.com/chromium/src.git/+/master/...

Re:Chrome just got faster with Profile Guided Optimization by CalChris on Tuesday August 25, 2020 @03:13PM (#24274888)
Can you explain this because the article says:

  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...

Re:Chrome just got faster with Profile Guided Optimization by 1f60c on Tuesday August 25, 2020 @03:18PM (#24274962)
From the article: "PGO was initially introduced in M53 for Chrome on Windows using Microsoft Visual C++ (MSVC) […] In M85, we are rolling out PGO on Mac and Windows using Clang."

So it sounds like they've been using PGO for a while using MSVC, and now they've started using PGO with Clang.

Re:Chrome just got faster with Profile Guided Optimization by jcelerier on Wednesday August 26, 2020 @02:50AM (#24279850)
Wouldn't PGO only work with the exact source code, flags, compiler version, etc... used by google ? At which point you'll end up with the exact same binary than Google's too
Re:Chrome just got faster with Profile Guided Optimization by loeg on Tuesday August 25, 2020 @02:18PM (#24274293)
Is M85 the first Chrome Windows release done with Clang, as opposed to MSVC? I haven't been following the Windows side of it.
Re:Chrome just got faster with Profile Guided Optimization by Ziggy_Zaggy on Tuesday August 25, 2020 @04:26PM (#24275717)
Great question! Anyone have this answer?
Re:Chrome just got faster with Profile Guided Optimization by zmodem on Tuesday August 25, 2020 @04:34PM (#24275792)
Chrome M64 was the first shipping version built with Clang on Windows: http://web.archive.org/web/20200125010517/http://blog.llvm.o...
Re:Chrome just got faster with Profile Guided Optimization by loeg on Wednesday August 26, 2020 @01:28PM (#24284809)
Thanks. So Chrome on Windows had MSVC PGO from 53-63, but lost PGO from 64-84.