Profiling question

Waldo Bastian bastian at kde.org
Wed Apr 10 23:29:06 BST 2002


On Wednesday 10 April 2002 12:16 pm, Roberto Alsina wrote:
> Just curious: anyone of those who did profiling knows if KConfig and
> friends are a substantial part of startup time?
>
> If yes, is that caused by all the directory listings/file
> openings/closings or by the data reasing itself?

It's quite fast but it causes disk access (disk seeks!) which is quite slow. 
So it should be a goal to reduce the _number_ of config files read on 
startup: don't create extra-config files if that same information can be 
stored in an existing config file too, don't use 10 config files if you can 
do the same with a single config file.

In a normal application like kedit, reading of the config files is not a major 
factor.

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com





More information about the kde-core-devel mailing list