Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » code completion very slow
code completion very slow [message #104319] Wed, 02 June 2004 07:51 Go to next message
Eclipse UserFriend
Hi!
My Code Completion is very slow. For example I want to write the method
"main" (a code template included in CDT 2.0 M09: i type ma , then ctrl +
space. It takes at least 5 seconds until the code templates show up.
(i have included <iostream>; without it it works normal)
i have a XP2400+ with 512 MB RAM! Shouldn't it work faster??
Is there a way I could speed that process up??
Otherwise it would be nearly useless for me because in 5 sec i have
typed it all by myself.

Thanks in advance

PS.: I'm sorry that my english is that bad :-)
Re: code completion very slow [message #104383 is a reply to message #104319] Wed, 02 June 2004 10:23 Go to previous messageGo to next message
Eclipse UserFriend
We are working at trying to make the parse faster.
There are numerous defects open on Search and Content Assist wrt memory
consumption and performance that we plan to address in the next few weeks.

"yngwi" <djeller@gmx.at> wrote in message news:c9kef8$kf1$1@eclipse.org...
> Hi!
> My Code Completion is very slow. For example I want to write the method
> "main" (a code template included in CDT 2.0 M09: i type ma , then ctrl +
> space. It takes at least 5 seconds until the code templates show up.
> (i have included <iostream>; without it it works normal)
> i have a XP2400+ with 512 MB RAM! Shouldn't it work faster??
> Is there a way I could speed that process up??
> Otherwise it would be nearly useless for me because in 5 sec i have
> typed it all by myself.
>
> Thanks in advance
>
> PS.: I'm sorry that my english is that bad :-)
Re: code completion very slow [message #104397 is a reply to message #104319] Wed, 02 June 2004 10:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: johan.nosp.m.appeal.se

A short term solution that you could try while stuff get fixed properly by the
CDT team is that if you're using SUN's JVM, try using JRockit instead:

http://download2.bea.com/pub/jrockit/142/jrockit-j2sdk1.4.2_ 03-linux32.bin
http://download2.bea.com/pub/jrockit/142/jrockit-j2sdk1.4.2_ 03-win32.exe

I can't say anything about the performance of Eclipse on JRockit specifically
(you'll have to judge that yourself), but in general JRockit tends to outperform
SUN's JVM.

Stability wise I'm running Eclipse (2.1.3 though and no CDT) on top of the above
JRockit release and I'm not having any problems. Of course this doesn't mean
you won't, but at least in theory it should work well.

Full disclosure: I work at BEA and am probably biased.

Regards //Johan

yngwi wrote:
> Hi!
> My Code Completion is very slow. For example I want to write the method
> "main" (a code template included in CDT 2.0 M09: i type ma , then ctrl +
> space. It takes at least 5 seconds until the code templates show up.
> (i have included <iostream>; without it it works normal)
> i have a XP2400+ with 512 MB RAM! Shouldn't it work faster??
> Is there a way I could speed that process up??
> Otherwise it would be nearly useless for me because in 5 sec i have
> typed it all by myself.
>
> Thanks in advance
>
> PS.: I'm sorry that my english is that bad :-)
Re: code completion very slow [message #104454 is a reply to message #104397] Wed, 02 June 2004 14:25 Go to previous messageGo to next message
Eclipse UserFriend
thanks to all!
I'll be patient until 2.0 final!
Re: code completion very slow [message #104482 is a reply to message #104397] Thu, 03 June 2004 02:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thhal.mailblocks.com

I use JRockit with the CDT. It's faster but marginally so. And it's no
remedy for the somewhat extreme memory consumption that the CDT is guilty
of. It's very encouraging to hear that the CDT team will address these
problems in the coming weeks. IMHO, it should have top prio. It's really
impeding more extensive use of the CDT.

Kind regards,

Thomas Hallgren
(also a BEA employee)

"Johan Walles" <johan.nosp@m.appeal.se> wrote in message
news:c9kok2$3uf$1@eclipse.org...
> A short term solution that you could try while stuff get fixed properly by
the
> CDT team is that if you're using SUN's JVM, try using JRockit instead:
>
>
http://download2.bea.com/pub/jrockit/142/jrockit-j2sdk1.4.2_ 03-linux32.bin
> http://download2.bea.com/pub/jrockit/142/jrockit-j2sdk1.4.2_ 03-win32.exe
>
> I can't say anything about the performance of Eclipse on JRockit
specifically
> (you'll have to judge that yourself), but in general JRockit tends to
outperform
> SUN's JVM.
>
> Stability wise I'm running Eclipse (2.1.3 though and no CDT) on top of the
above
> JRockit release and I'm not having any problems. Of course this doesn't
mean
> you won't, but at least in theory it should work well.
>
> Full disclosure: I work at BEA and am probably biased.
>
> Regards //Johan
>
> yngwi wrote:
> > Hi!
> > My Code Completion is very slow. For example I want to write the method
> > "main" (a code template included in CDT 2.0 M09: i type ma , then ctrl +
> > space. It takes at least 5 seconds until the code templates show up.
> > (i have included <iostream>; without it it works normal)
> > i have a XP2400+ with 512 MB RAM! Shouldn't it work faster??
> > Is there a way I could speed that process up??
> > Otherwise it would be nearly useless for me because in 5 sec i have
> > typed it all by myself.
> >
> > Thanks in advance
> >
> > PS.: I'm sorry that my english is that bad :-)
>
Re: code completion very slow [message #104583 is a reply to message #104482] Thu, 03 June 2004 19:05 Go to previous message
Eclipse UserFriend
Originally posted by: dschaefe.ca.ibm.com

We hear you and it is certainly our conclusion as well. The good news is
that there appears to be a lot of things we can do to make the parser faster
and smaller. It should just be a matter of time until we get there. It is
certainly my number one priority.

Doug Schaefer
IBM's Eclipse CDT Architect

"Thomas Hallgren" <thhal@mailblocks.com> wrote in message
news:c9mh0v$80n$1@eclipse.org...
> I use JRockit with the CDT. It's faster but marginally so. And it's no
> remedy for the somewhat extreme memory consumption that the CDT is guilty
> of. It's very encouraging to hear that the CDT team will address these
> problems in the coming weeks. IMHO, it should have top prio. It's really
> impeding more extensive use of the CDT.
>
> Kind regards,
>
> Thomas Hallgren
> (also a BEA employee)
>
> "Johan Walles" <johan.nosp@m.appeal.se> wrote in message
> news:c9kok2$3uf$1@eclipse.org...
> > A short term solution that you could try while stuff get fixed properly
by
> the
> > CDT team is that if you're using SUN's JVM, try using JRockit instead:
> >
> >
> http://download2.bea.com/pub/jrockit/142/jrockit-j2sdk1.4.2_ 03-linux32.bin
> >
http://download2.bea.com/pub/jrockit/142/jrockit-j2sdk1.4.2_ 03-win32.exe
> >
> > I can't say anything about the performance of Eclipse on JRockit
> specifically
> > (you'll have to judge that yourself), but in general JRockit tends to
> outperform
> > SUN's JVM.
> >
> > Stability wise I'm running Eclipse (2.1.3 though and no CDT) on top of
the
> above
> > JRockit release and I'm not having any problems. Of course this doesn't
> mean
> > you won't, but at least in theory it should work well.
> >
> > Full disclosure: I work at BEA and am probably biased.
> >
> > Regards //Johan
> >
> > yngwi wrote:
> > > Hi!
> > > My Code Completion is very slow. For example I want to write the
method
> > > "main" (a code template included in CDT 2.0 M09: i type ma , then ctrl
+
> > > space. It takes at least 5 seconds until the code templates show up.
> > > (i have included <iostream>; without it it works normal)
> > > i have a XP2400+ with 512 MB RAM! Shouldn't it work faster??
> > > Is there a way I could speed that process up??
> > > Otherwise it would be nearly useless for me because in 5 sec i have
> > > typed it all by myself.
> > >
> > > Thanks in advance
> > >
> > > PS.: I'm sorry that my english is that bad :-)
> >
>
Previous Topic:#include indexer problem
Next Topic:No response from "Build Project" in writing a plug-in for Managed Build system
Goto Forum:
  


Current Time: Sun May 04 08:43:18 EDT 2025

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

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

Back to the top