List Info

Thread: parts/outputviews/compileerrorfilter.cpp r. 669527




parts/outputviews/compileerrorfilter.cpp r. 669527
country flaguser name
United States
2007-09-19 15:14:59
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.

Kris Wong

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

Re: parts/outputviews/compileerrorfilter.cpp r. 669527
user name
2007-09-19 16:14:53
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.

Andreas

-- 
Everything will be just tickety-boo today.

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

Re: parts/outputviews/compileerrorfilter.cpp r. 669527
country flaguser name
United States
2007-09-19 17:32:30
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).

I'm all for making this faster, but I really don't have time
to work on this 
now.

Alex

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

Re: parts/outputviews/compileerrorfilter.cpp r. 669527
user name
2007-09-19 18:00:07
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.

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

[1-4]

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