This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Large, modular C++ application performance ...
- From: Dan Nicolaescu <dann at ics dot uci dot edu>
- To: michael dot meeks at novell dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 01 Aug 2005 09:57:45 -0700
- Subject: Re: Large, modular C++ application performance ...
- References: <1122666555.19624.25.camel@linux.site>
michael meeks <michael.meeks@novell.com> writes:
> Hi there,
>
> I've been doing a little thinking about how to improve OO.o startup
> performance recently; and - well, relocation processing happens to be
> the single, biggest thing that most tools flag.
Have you tried eliminating all the unneeded shared libraries linked to
all the OO.o binaries and shared libraries? This should have an impact on
startup time.
ldd -u -r BINARY_OR_SHARED_LIBRARY
should not print anything
(as a side note Gnome is a much bigger offender on linking way too
many unused shared libraries...)