On Fri, Jun 02, 2017 at 01:01:14AM +0000, Benjamin Smedberg wrote:
> On Thu, Jun 1, 2017 at 8:52 PM Mike Hommey <[email protected]> wrote:
> 
> > Hi,
> >
> > For some reason, the default when building on Linux had stayed -Os. I
> > just landed a change[1] to this default to now use -O2 instead (on
> > autoland at the moment). This is going to give better performance to
> > local builds (although that might make the build itself take a little
> > longer).
> 
> 
> Does this change affect our shipped build?

Ah, forgot to mention that. No, it doesn't affect *our* shipped builds
(because PGO uses a different set of optimization flags).

But it does affect downstream builds that don't PGO.

> Long ago -Os produced faster builds than -O2 because the memory effects of
> larger code outweigh the better in lining. That might not be true any more,
> but I'm interested in seeing data.

https://treeherder.mozilla.org/perf.html#/compare?originalProject=try&originalRevision=522eae797ae2&newProject=try&newRevision=d99889734dda&framework=1&showOnlyImportant=0

Mike
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to