KConfig sync speedup patch rev 1

Waldo Bastian bastian at kde.org
Wed Sep 10 13:08:22 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 10 September 2003 03:44, you wrote:
> On Tuesday 09 September 2003 01:10 pm, you wrote:
> > On Tuesday 09 September 2003 15:09, Ian Reinhart Geiser wrote:
> > > Hi,
> > > 	At n7y I worked out this patch with the help of david.  It seems to
> > > speed up some apps when i measure them with calltree.  The issue was
> > > that before this patch every time you call sync the config file is
> > > reparsed. This patch causes the config file not to be reparsed unless
> > > it has changed on disk since the last write.
> >
> > I'm looking into it. There are several issues with the patch that I try
> > to resolve so it may take a bit.
>
> What are the issues?  Im interested since im trying to refactor KConfig for
> KDE 4, and trying to keep in sync with your vision of what it should do.

Timestamp doesn't detect changes within same second, writing config file 
doesn't necasserily reload config file so the criteria shouldn't be "not 
changed since last write" but "not changed since we last read it", an there 
was an implementation issue that made that the global items weren't filtered 
out.

> It seems with kiosk we put ourselves in a horrible fix, since no-one
> bothered to refactor things along the way.

I see no reason to refactor so far.

> Now we have this blindingly 
> slow datastructure and archatecture that seems to be all of our speed
> issues.

Do you have any data on this?

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/XxQ2N4pvrENfboIRApIrAKCFHzb995xZq6qswAfGAFAhVXTeBgCfaHQY
wFTs7W41KLOrnx/lFhWcJpE=
=gBFc
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list