CMake project import - CPU usage due to QRegExp performance bug

Aleix Pol aleixpol at kde.org
Sun Feb 27 23:21:54 UTC 2011


On Sun, Feb 27, 2011 at 11:40 PM, Manuel Massing
<m.massing at warped-space.de>wrote:

>  Hi Nicolas,
>
> > See:
>
> > http://lists.kde.org/?t=127950718200001&r=1&w=2
>
> thanks for the information - so I guess the workaround is to install cmake
> 2.8.3 or later, or to replace the FindZLIB.cmake file.
>
> Would it be so bad to add a check for the regexp and handle it as a
> specical
>
> case? Seeing that it'll otherwise probably affect a lot of people
> unknowingly
>
> and for some time to come (until all distributions ship a new cmake).
>
> This problem nearly turned me away from kdevelop (annoyed me to no end on
>
> a project where I often switch branches with git, resulting in minute-long
>
> reparsing of the project) - I thought this was the normal and thus
>
> unavoidable project parsing behaviour...
>
> anyway, at least now it won't bite ME again :-)
>
> cheers!
>
>  Manuel
>
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
>
:/ this problem is too bad, I agree, but given that we're a little group I'd
like to minimize the number of workarounds in the code...

Aleix

PS: it's a distro bug to distribute an old minor version of cmake anyway...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110228/0a099508/attachment.html>


More information about the KDevelop-devel mailing list