parts/outputviews/compileerrorfilter.cpp r. 669527
Andreas Pakulat
apaku at gmx.de
Wed Sep 19 23:00:07 UTC 2007
On 19.09.07 18:32:30, Alexander Neundorf wrote:
> On Wednesday 19 September 2007 17:14, Andreas Pakulat wrote:
> > On 19.09.07 16:14:59, Kris Wong wrote:
> > > After months of trying to figure out why my link times suddenly went
> > > through the roof (literally), I finally traced it down. There were
> > > changes made to 3 regular expressions in compileerrorfilter.cpp,
> > > apparantly to accomdate files with spaces in them. This introduced two
> > > issues. First, the time for CompileErrorFilter::processLine to run on
> > > the link step output for some of my projects jumped from 346
> > > milliseconds to 184569 milliseconds (yes, that's 3 minutes). Second,
> > > the output seemed to get messed up at times, and it would display lines
> > > about generating object files and such. I think this needs to be rolled
> > > back. Whoever made the original change (or any one else who's
> > > interested) can come up with another solution.
> >
> > I agree, the change was done by Alexander quite some time ago.
>
> Yes, and I didn't notice problems with it since then. Reverting this change
> will break it for projects which have a space in their path (i.e. kdevelop
> doesn't take you to the code anymore if you click on the error).
Well, one of the 2 buildsystems kdevelop3 directly supports doesn't
allow whitespace in paths anyway (talking about automake here).
> I'm all for making this faster, but I really don't have time to work on this
> now.
Then I think it should be reverted for now, after all its quite a huge
change performance-wise. Unless of course some regexp-guru comes up with
a good fix :) (I'm not that much of a regexp guru unfortunately).
Andreas
--
Don't tell any big lies today. Small ones can be just as effective.
More information about the KDevelop-devel
mailing list