KDevelop: cmake parser performance

Matt Rogers mattr at kde.org
Wed Nov 7 01:38:32 UTC 2007


On Tuesday 06 November 2007 09:05:29 Hamish Rodda wrote:
> Hi Aleix,
>
> I've done some basic profiling of the cmake parser's performance using
> callgrind/kcachegrind, and I've found that much of the time is spent in
> regular expression matching.
>
> I haven't looked much into how the cmake support works, but is it
> theoretically possible to reduce the dependency on regular expressions?  It
> could potentially significantly speed things up (my modern pc takes a few
> seconds to parse the kdevelop project's cmake files)
>
> Cheers,
> Hamish.

I noticed the same and planned to look into this soon. (It's on my list after 
I finish the bugzilla templates)
--
Matt




More information about the KDevelop-devel mailing list