Could kdecore depend on kjs?

Stephan Kulow coolo at kde.org
Fri Mar 16 12:41:08 GMT 2007


Am Friday 16 March 2007 schrieb Oswald Buddenhagen:
> On Thu, Mar 15, 2007 at 04:03:42PM +0100, Dirk Mueller wrote:
> > Absolute numbers don't count, as it scales with the number of
> > relocated symbols. if it causes a slowdown of 5% on kde4-config, like
> > your measurement indicates, it will cause  a slowdown of 5% for a
> > really really big application as well, and for a really really big
> > application those 5% might be 100ms.
>
> yes, but for a Really Really Big (TM) application, 100ms additional load
> time is something like statistical noise. ;)
> i'm way more concerned about the tiny applications that somebody might
> want to use in scripts. we already discarded the idea of using
> kreadconfig in startkde, because it's just too slow. at least it was
Startkde is special as it will always be the first to hit cold caches.

> before the core/ui split.
> fwiw, there is another factor that was not considered yet: bootup load
> penalty, i.e., with cold disk caches. then the 4ms easiliy become 400ms,
> and this adds up quickly. one notable difference to the above used
Hmm, the cache is hopefully cold only once. How shall this sum up? But yes, 
libkjs will have to be loaded into memory for the first KDE app too - while 
so far it stayed on disc before khtml was loaded.

Greetings, Stephan




More information about the kde-core-devel mailing list