Performance problems in CMake support

Alexander Neundorf neundorf at kde.org
Tue Apr 1 22:29:39 UTC 2008


On Wednesday 02 April 2008, Robert Knight wrote:
...
> What I think Aleix is getting at is that a lot of time seems to be spent
> in QDir::entryInfoList() to find various libraries and other files.
> QDir::entryInfoList() uses QDirIterator which spends a lot of time
> constructing QRegExps to do the filter matching.

I didn't check, but I think cmake itself doesn't read the full directory 
contents but checks only if the specific files exist using access() or 
something like this. This is probably faster.

Alex




More information about the KDevelop-devel mailing list