[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: icon loading (app startup) speed (long)
From:       Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date:       2001-08-10 16:50:49
[Download RAW message or body]



Antonio Larrosa Jiménez wrote:
> 
> El Mié 08 Ago 2001 22:42, Waldo Bastian escribió:
> > On Wednesday 08 August 2001 12:30 pm, aleXXX wrote:
> > > I couldn't reliably measure how much time it saved,
> > > maybe 0.05 to 0.1 seconds, if at all ( on a K6/200) :-(
> >
> > I played around with this as well, (I think I did send you some stuff),
> > and I couldn't save much time their neither. The loading from disk seems
> > to be quite fast actually, also the stat() and access() calls might seem
> > a lot but the actual directory info is most likely cached by the OS
> > anyway. Things might be different over NFS though.
> >
> > There are two options that might be worth looking into:
> >
> > 1) Using some sort of icon server that allows us to share pixmaps
> > between processes on the X-server.
> 
[snip]
> I modified the icon loader to use a "best case" method to load an icon,
> that is: I embeeded an icon into the sources using the qembed tool from Qt
> and then return always the same icon ignoring what icon was requested.

This is best-case with regard to searching for an icon, but not
with regard to loading it - the embedded icon still needs to be
transmitted to the X server (possibly including changing the layout
of the image data). This means that while your results are very
interesting, they don't let us see what the benefits of sharing
X pixmaps between processes (as suggested above) would be.

Cheers

Rich.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic