Re: Removing xrdb for 10% startup win?

On Sat, 2005-08-27 at 20:43 -0400, Owen Taylor wrote:
> cpp is built into GCC these days, so is not lightweight by any means.
> I don't know if there is a 10k cpp implementation out there, but if
> there is, then switching to use that might by the right course in
> this area.

People have said this but I don't see it:

$ which cpp
$ ll /usr/bin/cpp
lrwxrwxrwx  1 root root 7 2005-08-21 15:01 /usr/bin/cpp -> cpp-4.0
$ ll /usr/bin/cpp-4.0
-rwxr-xr-x  1 root root 90232 2005-08-21 19:51 /usr/bin/cpp-4.0
$ ldd /usr/bin/cpp-4.0 =>  (0xffffe000) => /lib/tls/i686/cmov/ (0xb7dee000)
        /lib/ (0xb7f2d000)

Using "strace -e open" doesn't show cpp opening at runtime any other

What is xrdb/cpp *doing* in the 10% of the startup time?  It doesn't
perform any I/O as gnome-settings-daemon does that instead, and streams
the contents of the files into xrdb's stdin.

Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]