[cfe-dev] compilation time 3.5 vs 3.6
mobi phil
mobi at mobiphil.com
Thu Jan 22 07:22:31 PST 2015
>
> > I compared compilation time with clang version 3.5 that ships with
> latest ubuntu and the one I built (with --enable-optimized
> --enable-shared). The results are:
>
> Is the version that you're comparing against statically linked? The
> overheads of shared library use are measurable with LLVM, though probably
> not 50%.
>
> for both only LLVM is in shared library:
ldd /b/default/llvm/Release/bin/clang
linux-vdso.so.1 => (0x00007ffffabd0000)
libLLVM-3.7svn.so => /b/default/llvm/Release/bin/../lib/
libLLVM-3.7svn.so (0x00007fdaf27f8000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fdaf25a0000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007fdaf2380000)
libedit.so.2 => /usr/lib/x86_64-linux-gnu/libedit.so.2
(0x00007fdaf2150000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5
(0x00007fdaf1f20000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fdaf1d18000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fdaf1a10000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007fdaf1708000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007fdaf14f0000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdaf1128000)
/lib64/ld-linux-x86-64.so.2 (0x00007fdaf4568000)
ldd /usr/bin/clang
linux-vdso.so.1 => (0x00007fff62400000)
libLLVM-3.5.so.1 => /usr/lib/x86_64-linux-gnu/libLLVM-3.5.so.1
(0x00007f0625d88000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f0625b68000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f0625860000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f0625648000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0625280000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6
(0x00007f0625078000)
libedit.so.2 => /usr/lib/x86_64-linux-gnu/libedit.so.2
(0x00007f0624e48000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5
(0x00007f0624c18000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0624a10000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0624708000)
/lib64/ld-linux-x86-64.so.2 (0x00007f06277d0000)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150122/e6a4c09a/attachment.html>
More information about the cfe-dev
mailing list