List Info

Thread: KDevelop: cmake parser performance




KDevelop: cmake parser performance
country flaguser name
Australia
2007-11-06 09:05:29
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.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

Re: KDevelop: cmake parser performance
country flaguser name
United States
2007-11-06 19:38:32
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

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

Re: KDevelop: cmake parser performance
country flaguser name
United States
2007-11-06 19:38:32
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

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )