<div dir="ltr"><div>This is a somewhat old mozconfig, you shouldn't need some of these make and autoconf options if you're using the new `mach` build tool. It can build entirely without a mozconfig and it will choose reasonable options for you (i'm just not sure about the ccache part).<br><br></div>I've tried following the includes there but it's still unclear to me if this mozconfig is by default building a debug or an optimized build. However, by the choice of obj-dir name (obj-ff-dbg) it suggests it is a debug one. To get a faster build you need to build an optimized+non-debug one. <br><br>Here's my mozconfig:<br><br>"""<br><div>mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../ff-opt<br><br>ac_add_options --enable-application=browser<br>mk_add_options MOZ_CO_PROJECT=browser<br><br>ac_add_options --enable-optimize<br>ac_add_options --disable-debug<br>"""<br><br></div><div><br></div><div>And I build it by just running `mach build`. (Note that I have my objdir in a different location but that's just my preferred style)<br><br></div><div>Other reasons for differences would be different compiler versions. Other platforms also have PGO builds, but this is not the case for Mac.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 22, 2014 at 8:36 PM, Matthew Painter <span dir="ltr"><<a href="mailto:matthew.painter@import.io" target="_blank">matthew.painter@import.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">So I've followed the wiki instructions, and successfully build the master branch of FF on OSX (Hooray!)</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">However, for some reason the JS speed (measured using sunspider) of the locally compiled FF is about 2-3x slower than the last release (450ms vs 185ms).</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Here's my mozconfig: <a href="https://gist.github.com/mjgp2/6a857ed9783c983c11b5" target="_blank">https://gist.github.com/mjgp2/6a857ed9783c983c11b5</a></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I can't see looking at the mozconfigs in source control why on earth this could be the case.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">Anyone seen this before?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks :)</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Matt</div>
</div>
<br>_______________________________________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" target="_blank">https://mail.mozilla.org/listinfo/firefox-dev</a><br>
<br></blockquote></div><br></div>