Re: [Nautilus-list] throbber out-of-process

On Fri, 3 Aug 2001, Maciej Stachowiak wrote:

> On 03Aug2001 07:01PM (-0400), Havoc Pennington wrote:
> > 
> > Maciej Stachowiak <mjs noisehavoc org> writes: 
> > > OS X has a prelinking setup that's used mostly on C and Objective C,
> > > and it's supposed to have reeally dramatic effects on startup time. I
> > > wonder what's different here that you don't see much benefit for C,
> > > especially given someone's measurements a while back that a very large
> > > chunk of GNOME application startup time is spent in the dynamic
> > > linker.
> > > 
> > 
> > Well, what the prelinker does is avoid relocations by
> > pre-relocating.
> Right.
> > C doesn't normally have a lot of relocations on Linux.
> I'd expect every function call in a shared library to trigger a reloc,
> though I guess lazy binding helps there somewhat, since you don't have
> to do relocs on all the vtables (some KDE developer gave an example of
> 1:5 speedup for lazy binding with C, vs. 2:3 for C++; but I'd expect
> the prelinking to give even more benefir than that).

I did run the prelinker on my testmachine, but i didn't do any serious 
performance measurements. I will try to do that later.

/ Alex

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