Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » erratically slow response while editing
erratically slow response while editing [message #202450] Tue, 02 October 2007 22:52 Go to next message
Eclipse UserFriend
Originally posted by: jigal2.yahoo.com

Hi there.

I am working with Eclipse+CDT for over a year now, on Linux+GCC.
All in all - I was satisfied.
But - as my files grew bigger - the editor responsiveness became a problem.

Specifically, when I edit, and I have a tendency to save quite a lot
during editing. Eclipse's responsiveness every 20-30 seconds or so
becomes very slow - it hangs, doing some thinking and only after 4-5
seconds, it lets go (could be even more).

Once in a while it is not so terrible - but it is very persistent and
with very short intervals.

I am working with indexer disabled -and it seems it's got nothing to do
with it.

My guess is that eclipse retags the source whenever it wishes -
regardless of indexing - is this right?
What can I do besides cutting down my project size, or going to another
editor... :-)

Thanx.
Jigal.
Re: erratically slow response while editing [message #202466 is a reply to message #202450] Wed, 03 October 2007 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: paul.mcconkey.net

I have noticed delays - especially with paste operations (CTRL + V) since
upgrading to CDT 4. As everything else changed then as well (Eclipse, Mylyn,
etc, etc) I don't know if it is a CDT issue or not.

I am living with it for now, but if anyone knows how I could track down the
culprit I'd be grateful for the info.

Cheers,

Paul.
Re: erratically slow response while editing [message #202498 is a reply to message #202450] Thu, 04 October 2007 09:02 Go to previous messageGo to next message
Anton Leherbauer is currently offline Anton LeherbauerFriend
Messages: 490
Registered: July 2009
Senior Member
jigal wrote:
> Hi there.
>
> I am working with Eclipse+CDT for over a year now, on Linux+GCC.
> All in all - I was satisfied.
> But - as my files grew bigger - the editor responsiveness became a problem.
>
> Specifically, when I edit, and I have a tendency to save quite a lot
> during editing. Eclipse's responsiveness every 20-30 seconds or so
> becomes very slow - it hangs, doing some thinking and only after 4-5
> seconds, it lets go (could be even more).
>
> Once in a while it is not so terrible - but it is very persistent and
> with very short intervals.
>
> I am working with indexer disabled -and it seems it's got nothing to do
> with it.
>
> My guess is that eclipse retags the source whenever it wishes -
> regardless of indexing - is this right?
> What can I do besides cutting down my project size, or going to another
> editor... :-)
>
> Thanx.
> Jigal.
>

I suggest to read the following thread on the cdt-dev mailing list:
http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg10652.html

--
Anton Leherbauer
Wind River CDT Team, Austria
Re: erratically slow response while editing [message #202506 is a reply to message #202466] Thu, 04 October 2007 09:07 Go to previous messageGo to next message
Anton Leherbauer is currently offline Anton LeherbauerFriend
Messages: 490
Registered: July 2009
Senior Member
Paul McConkey wrote:
> I have noticed delays - especially with paste operations (CTRL + V) since
> upgrading to CDT 4. As everything else changed then as well (Eclipse, Mylyn,
> etc, etc) I don't know if it is a CDT issue or not.
>
> I am living with it for now, but if anyone knows how I could track down the
> culprit I'd be grateful for the info.
>
> Cheers,
>
> Paul.
>
>

Could you try and disable "Smart Paste" in the preferences (C/C++ >
Editor > Typing > When pasting - Adjust indentation) if this improves
performance?
Thanks.

--
Anton Leherbauer
Wind River CDT Team, Austria
Re: erratically slow response while editing [message #202521 is a reply to message #202506] Thu, 04 October 2007 10:45 Go to previous message
Eclipse UserFriend
Originally posted by: paul.mcconkey.net

"Anton Leherbauer" <anton.leherbauer@windriver.com> wrote in message
news:fe2agm$15t$1@build.eclipse.org...
> Could you try and disable "Smart Paste" in the preferences (C/C++ > Editor
> > Typing > When pasting - Adjust indentation) if this improves
> performance?

It does improve performance - there is now no noticeable latency between
pressing CTRL+V and the paste occurring.

Thanks,

Paul.
Previous Topic:Background colors
Next Topic:CDT 4.0.1 is Now Available
Goto Forum:
  


Current Time: Sun Jun 30 09:08:38 GMT 2024

Powered by FUDForum. Page generated in 0.03380 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top