XML/XSD based configuration files.

Benjamin Meyer ben at meyerhome.net
Tue Dec 7 18:03:42 GMT 2004


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

On Tuesday 07 December 2004 9:47 am, Waldo Bastian wrote:
> From the buzzword-department.
>
> See http://bugs.kde.org/show_bug.cgi?id=94611
>
> Anyone interested in looking into this? I most certainly do not want to
> *switch* configuration formats, but I think it's a viable strategy to offer
> an alternative configuration format to our users with great marketing
> potential.
>
> Cheers,
> Waldo

Just a side note to add into this topic when doing benchmarking.

 With a lot of KDE using KConfigXt (and more every day) only values that are 
changed from the default are actually written to the disk (yah!).  So the 
number of things read on startup is significantly less before.  If the user 
has only changed the window size and their two choices and there are only 
five entries in the file going from ini to xml or just about anything won't 
make any real difference.

So make sure to benchmark with larger config files such as kmail in 3.3.1.

To go along with this thread I discovered in my personal .kde directory my 
customized xmlrc files (toolbar config) are the largest files by far (100 
times larger then most config files easy) and could be taking up a whole lot 
more time then config sense we use the Qt xml parser.  Has anyone benchmarked 
or profiled this?

- -Benjamin Meyer

- -- 
aka icefox
Public Key: http://www.icefox.net/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFBtfB+1rZ3LTw38vIRAkzgAJ9ojGVWNrK/lbSn2LLJXf6WCCQ/dwCghsUj
Jd8JrgGy7ruLAqFa6c221UU=
=gk5B
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list