Performance problems in CMake support

Matt Rogers mattr at kde.org
Wed Apr 2 04:25:56 UTC 2008


On Monday 31 March 2008 15:24:46 Andreas Pakulat wrote:
> Hi,
>
> just wondering wether there are any plans to improve the cmake parser's
> performance? I've just noticed that it takes about 15-20 seconds to
> parse KDevelop4 when starting KDevelop and a quick (not finished)
> callgrind profile shows that a lot of time is spent in QRegExp and Co.
>
> Andreas

It's because of all those REGEXP commands used in our CMakeLists.txt files 
(and other includes). :P

Not to say that there aren't performance issues, but when I was looking at 
this at Hamish's request, this was what the majority cause was. :)
--
Matt




More information about the KDevelop-devel mailing list