On Sun, Aug 4, 2013 at 10:12 PM, Nicholas Nethercote
<n.netherc...@gmail.com> wrote:
>
> I tried --enable-debug-symbols=-gsplit-dwarf in a debug build like this:
>
>   CC='clang' CXX='clang++' ../configure --enable-debug
> --enable-debug-symbols=-gsplit-dwarf --enable-optimize='-O0'
> --enable-valgrind
>
> and it reduced the time from ~25 seconds to ~9 seconds.  The ~100 MB
> files shrunk down to ~32 MB.  Cool!
>
> Now, if only I could reduce opt link times similarly, that would be
> great.

glandium explained that --enable-debug-symbols is valid in a
--disable-debug build -- we include debug symbols by default, even in
--disable-debug builds, so that gdb works.

Using --enable-debug-symbols=-gsplit-dwarf in an opt build gets my JS
shell link time down to less than 4 seconds.  Yay!  Thanks, glandium.

Nick
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to