-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Build took 41:02 with these options: ac_add_options --enable-chrome-format=flat ac_add_options --disable-optimize ac_add_options --enable-debug-symbols ac_add_options --disable-crashreporter ac_add_options --disable-updates ac_add_options --disable-tests ac_add_options --without-intl-api ac_add_options --enable-jemalloc
Builds took 37:12, 34:58 with these additional options: mk_add_options "export COMPILE_PDB_FLAG=" mk_add_options "export HOST_PDB_FLAG=" mk_add_options "export MOZ_DEBUG_FLAGS=-Z7" (removed ac_add_options --enable-debug-symbols) That's a 9.3% - 14.8% improvement [0][1]. I noticed that PDB files were still generated; is that expected or did I miss something in the configuration options? Also, I did run into an issue where WinDbg wasn't able to show me source code for some functions in xul.dll (which normally it should have been able to). I'll keep investigating to see if that was a fluke or if there are some STR I can post here. [0] https://www.wolframalpha.com/input/?i=1+-+%2837+minutes+12+seconds%29+%2F+%2841+minutes+2+seconds%29 [1] https://www.wolframalpha.com/input/?i=%281+-+%2834+minutes+58+seconds%29+%2F+%2841+minutes+2+seconds%29%29 On 4/24/2014 1:14 AM, Mike Hommey wrote: > Hi, > > While working on shared compilation cache for windows, I noticed I > could get a 20% build time improvement with the following in > .mozconfig: > > mk_add_options "export COMPILE_PDB_FLAG=" mk_add_options "export > HOST_PDB_FLAG=" mk_add_options "export MOZ_DEBUG_FLAGS=-Z7" > > (the downside is a 40% disk space increase of the objdir) > > This is what is currently used on try, and as far as testing goes, > it is good enough for breakpad symbols to have the right data so > that crashes in tests can be handled correctly. > > I'm looking for people to test this setup more thoroughly and see > if it affects their debugging. If that works out well, we may make > it the default. > > Cheers, > > Mike > > PS: please report what build time difference that makes for you, > too. _______________________________________________ dev-platform > mailing list dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTdA5fAAoJENMT71e+7HCHlmAQAIKWzlGdUBe/8ZGZN4GgpQI5 IM4Iu8ZvBx+/ltbg9FWD8qwQaDoDvvn90+N3g1d6GL6c9qofkzXAhGJT4rQBdmSo Ky2KxXHwP+20oLufE2zCKVL/w5CYg4sw0E8dsbTAp6A90ZmO72T89wa0S132b9IP 2T4xbJVFND8hecMjQi2eWnqpSEmhg2EXpVw0r4C3LDsCdcUswgV6YdYpcVqjWD2u +JIQvYTSHxxdeF/iMQFU2lA10Bm81Q1w5wHJHSFXpRDtrrDtiu6w8qNqsZ0Ti2AG JMge5Pbb0BJEF/N0lCSQjK4gGnuFda/h6ChbMIspnBJ3C5FIHlOcCOcSob85tyRC A2NdElM6kKOQxODg6dSpZNkJ8GFfUSypl31u4EfuRiIAdeRbz8Y20HjsRMzLc0n+ QHlVVrrnh5fQb9sNDdjwZf5Qs4tDMXgpWedCcWKneLarp5oibh+l8goxsAC2cYVa byGAgUtZUqtKqBYITtakAvVlBjgjJpnHs32E/3P56aHNiWTfcsZ1jvbtom1aZiAj 2GynunSIK5MNZ2YKJ6c/cKdQ6sCd/mpWlb0mzMm8fIJgNfqU8TRpg+F9IE1tr15M JbyQSmxqXW4Ds6KuSvxbO8QdN5lf5SLjaS24wMiihyoZknZfe/K2ijnwsM+DWazm 9mkRag+fABzCJvmW8sDV =Hrww -----END PGP SIGNATURE----- _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform