Re: People building and debugging Firefox on Windows wanted
-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
Re: People building and debugging Firefox on Windows wanted
On Wed, May 14, 2014 at 05:46:23PM -0700, Tim Abraldes wrote: -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? Depends which specific pdb files. The linker still emits pdb files for dlls and executables. There shouldn't be pdb files for objects. 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. Thanks Mike ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
People building and debugging Firefox on Windows wanted
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
Re: People building and debugging Firefox on Windows wanted
Mike Hommey wrote: mk_add_options export MOZ_DEBUG_FLAGS=-Z7 -Z7 is faster than -Zi? Do VS2013 users need to turn off -FS? -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: People building and debugging Firefox on Windows wanted
On Thu, Apr 24, 2014 at 10:19:11AM +0100, Neil wrote: Mike Hommey wrote: mk_add_options export MOZ_DEBUG_FLAGS=-Z7 -Z7 is faster than -Zi? Surprisingly, yes. Do VS2013 users need to turn off -FS? Maybe, although it may just be ignored if using -Z7. Mike ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: People building and debugging Firefox on Windows wanted
So I tried it. My objdir size did increase by 40%. Although I can't confirm any speedups as the build time very much depend on the environment I am building in and the other stuff that I am doing on the box. I will try to so an untouched build in a cooled environment in a couple of days. On Thu, Apr 24, 2014 at 4:34 PM, Mike Hommey m...@glandium.org wrote: On Thu, Apr 24, 2014 at 10:19:11AM +0100, Neil wrote: Mike Hommey wrote: mk_add_options export MOZ_DEBUG_FLAGS=-Z7 -Z7 is faster than -Zi? Surprisingly, yes. Do VS2013 users need to turn off -FS? Maybe, although it may just be ignored if using -Z7. Mike ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- Girish Sharma B.Tech(H), Civil Engineering, Indian Institute of Technology, Kharagpur ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: People building and debugging Firefox on Windows wanted
My improvements were closer to 5%. I use VS2013's amd64_x86 cross-compiler. I didn't touch the -FS flag (I imagine it just becomes meaningless). Debug build, before: build 17:06, objdir 3.83GB Debug build, -Z7:build 16:06, objdir 5.22GB Opt build, before: build 17:47, objdir 3.01GB Opt build, -Z7: build 16:59, objdir 4.43GB I used the opt Z7 build for a bug investigation and, at least at first glance, I didn't notice any problems with the debugging information. David - Original Message - From: Mike Hommey m...@glandium.org To: Neil n...@parkwaycc.co.uk Cc: dev-platform@lists.mozilla.org Sent: Thursday, April 24, 2014 11:04:35 PM Subject: Re: People building and debugging Firefox on Windows wanted On Thu, Apr 24, 2014 at 10:19:11AM +0100, Neil wrote: Mike Hommey wrote: mk_add_options export MOZ_DEBUG_FLAGS=-Z7 -Z7 is faster than -Zi? Surprisingly, yes. Do VS2013 users need to turn off -FS? Maybe, although it may just be ignored if using -Z7. Mike ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform