Bug 317979 - content assist in helios is too slow when compared with galileo
Summary: content assist in helios is too slow when compared with galileo
Status: RESOLVED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws.jaxws (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal with 7 votes (vote)
Target Milestone: 3.2.2   Edit
Assignee: Shane Clarke CLA
QA Contact: Shane Clarke CLA
URL:
Whiteboard:
Keywords: needinfo, performance
Depends on:
Blocks:
 
Reported: 2010-06-25 09:35 EDT by Filipe Sousa CLA
Modified: 2011-01-28 16:37 EST (History)
12 users (show)

See Also:


Attachments
Content assist settings for helios (124.35 KB, image/png)
2010-06-25 12:26 EDT, Filipe Sousa CLA
no flags Details
Content assist advanced settings for helios (146.10 KB, image/png)
2010-06-25 12:27 EDT, Filipe Sousa CLA
no flags Details
galileo screencast (182.69 KB, application/octet-stream)
2010-06-25 12:28 EDT, Filipe Sousa CLA
no flags Details
helios screeencast (180.69 KB, application/octet-stream)
2010-06-25 12:28 EDT, Filipe Sousa CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filipe Sousa CLA 2010-06-25 09:35:48 EDT
I have the java auto activation delay set to 0 that shows the auto-completion immediately in Galileo but not with Helios. It takes almost one second to display the auto-completion.


-- Configuration Details --
Product: Eclipse 1.3.0.20100617-0521 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY
Comment 1 Remy Suen CLA 2010-06-25 09:41:44 EDT
(In reply to comment #0)
> I have the java auto activation delay set to 0 that shows the auto-completion
> immediately in Galileo but not with Helios.

Issues with Eclipse's Java tooling goes to JDT.
Comment 2 Olivier Thomann CLA 2010-06-25 10:03:51 EDT
We would need more details on the use case. Where is the auto completion triggered ? Does it happen all the time ?
Comment 3 Filipe Sousa CLA 2010-06-25 12:26:52 EDT
Created attachment 172776 [details]
Content assist settings for helios
Comment 4 Filipe Sousa CLA 2010-06-25 12:27:31 EDT
Created attachment 172777 [details]
Content assist advanced settings for helios
Comment 5 Filipe Sousa CLA 2010-06-25 12:28:07 EDT
Created attachment 172778 [details]
galileo screencast
Comment 6 Filipe Sousa CLA 2010-06-25 12:28:32 EDT
Created attachment 172779 [details]
helios screeencast
Comment 7 Filipe Sousa CLA 2010-06-25 12:28:41 EDT
I did a simple java test with both galileo and helios using a new workspace and it happens all the time.
I'm attacting two screenshots of helios configurations and two screencasts, one for galileo and the other for helios.

The auto completion is triggered with CTRL+SPACE and with "."
Comment 8 Filipe Sousa CLA 2010-07-23 19:42:51 EDT
After digging a bit more I found that it's only slow for eclipse JEE edition. Disabling the JAX-WS proposals helps.
Comment 9 stevewy CLA 2010-07-28 23:38:43 EDT
(In reply to comment #8)
> After digging a bit more I found that it's only slow for eclipse JEE edition.
> Disabling the JAX-WS proposals helps.

I often see a 30+ second delay in content assist running Eclipse IDE for Java Developers with the Android Plug-in installed.  The duration of the delay seems to be related to the number of proposals in the list.

I've tried many of the eclipse.ini tweaks found on the web, but continue to experience this problem.

I'm running Mac OS X 10.6.4 with 4GB RAM and a 2.4 GHz Core 2 Duo.
Comment 10 Ayushman Jain CLA 2010-07-29 02:08:06 EDT
(In reply to comment #8)
> After digging a bit more I found that it's only slow for eclipse JEE edition.
> Disabling the JAX-WS proposals helps.

Moving to WTP Java EE Tools for comment.
Comment 11 Richard CLA 2010-08-10 09:46:26 EDT
JAX-WS Proposals in Advanced settings is definitely causing the delay for me.  After disabling it auto-complete is instant.
Comment 12 noselasd CLA 2010-08-14 22:37:18 EDT
(In reply to comment #11)
> JAX-WS Proposals in Advanced settings is definitely causing the delay for me. 
> After disabling it auto-complete is instant.

I can confirm this(running on Win-7). Disabling JAX-WS Proposals makes an enormous  difference - especially when backspacing on an autocomplete. e.g. bring up the autocomplete at "System.out."  and backspacing from there was incredibly slow for me.
Comment 13 Shane Clarke CLA 2010-08-19 11:18:17 EDT
Looking into it.
Comment 14 Shane Clarke CLA 2010-08-26 07:28:23 EDT
I've committed a fix for this to the WTP 3.2.2 branch so it'll be available for Helios SR1.

The fix in now available is the latest 3.2.2 builds and i've tested it in an Eclipse install.

If anyone would like to give it a test to confirm the builds are available here: 
http://build.eclipse.org/webtools/committers/

The JAX-WS proposals are still enabled by default but the problems described above are not an issue anymore.

Marking as fixed.
Comment 15 Filipe Sousa CLA 2010-08-27 08:03:29 EDT
(In reply to comment #14)
> I've committed a fix for this to the WTP 3.2.2 branch so it'll be available for
> Helios SR1.
> 
> The fix in now available is the latest 3.2.2 builds and i've tested it in an
> Eclipse install.
> 
> If anyone would like to give it a test to confirm the builds are available
> here: 
> http://build.eclipse.org/webtools/committers/
> 
> The JAX-WS proposals are still enabled by default but the problems described
> above are not an issue anymore.
> 
> Marking as fixed.

Tested with Maintenance	Build: M-3.2.2-20100827021511 and it's fixed.
Comment 16 GiUmaTo Mising name CLA 2010-12-18 10:47:48 EST
(In reply to comment #9)
Yes, *there is* an issue related to Android ADT plugin used with Eclipse Helios (which at the moment is also not recommended), as you can see at this link for a longer explanation:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=325829

and at this link for a workaround:

http://code.google.com/p/android/issues/detail?id=7850&q=adt&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars#c7

By the way, I had this problem and the trick definitely worked for me.

Regards

> (In reply to comment #8)
> > After digging a bit more I found that it's only slow for eclipse JEE edition.
> > Disabling the JAX-WS proposals helps.
> 
> I often see a 30+ second delay in content assist running Eclipse IDE for Java
> Developers with the Android Plug-in installed.  The duration of the delay seems
> to be related to the number of proposals in the list.
> 
> I've tried many of the eclipse.ini tweaks found on the web, but continue to
> experience this problem.
> 
> I'm running Mac OS X 10.6.4 with 4GB RAM and a 2.4 GHz Core 2 Duo.
Comment 17 Lars Svensson CLA 2011-01-27 14:06:35 EST
Not fixed at all.. for me...

January 25th, 2011 I did this:

1. Downloaded Helios Classic again and started it with a new workspace.

2. I put in one project and tested it. It was still slow. 

So slow that the first time I hit a dot it took to long and a sign came up telling me to remove "Java proposal" checkbox or uninstall some plugin...eclipse.jdt.. or something. Both alternativs not an option.


I have discovered this:

IT IS ONLY WHEN I USE A CLASS DERIVED FROM JCOMPONENT IT IS SLOW!!!

I even recorded this and put a small film on youtube for you to see:

http://www.youtube.com/watch?v=2OCJo-F-hq0
Comment 18 Lars Svensson CLA 2011-01-27 14:08:24 EST
Not fixed at all.. for me...

January 25th, 2011 I did this:

1. Downloaded Helios Classic again and started it with a new workspace.

2. I put in one project and tested it. It was still slow. 

So slow that the first time I hit a dot it took to long and a sign came up telling me to remove "Java proposal" checkbox or uninstall some plugin...eclipse.jdt.. or something. Both alternativs not an option.


I have discovered this:

IT IS ONLY WHEN I USE A CLASS DERIVED FROM JCOMPONENT IT IS SLOW!!!

I even recorded this and put a small film on youtube for you to see:

http://www.youtube.com/watch?v=2OCJo-F-hq0
Comment 19 Lars Svensson CLA 2011-01-27 14:09:36 EST
Not fixed at all.. for me...

January 25th, 2011 I did this:

1. Downloaded Helios Classic again and started it with a new workspace.

2. I put in one project and tested it. It was still slow. 

So slow that the first time I hit a dot it took to long and a sign came up
telling me to remove "Java proposal" checkbox or uninstall some
plugin...eclipse.jdt.. or something. Both alternativs not an option.


I have discovered this:

IT IS ONLY WHEN I USE A CLASS DERIVED FROM JCOMPONENT IT IS SLOW!!!

I even recorded this and put a small film on youtube for you to see:

http://www.youtube.com/watch?v=2OCJo-F-hq0
Comment 20 Lars Svensson CLA 2011-01-27 14:10:40 EST
(In reply to comment #0)
> I have the java auto activation delay set to 0 that shows the auto-completion
> immediately in Galileo but not with Helios. It takes almost one second to
> display the auto-completion.
> 
> 
> -- Configuration Details --
> Product: Eclipse 1.3.0.20100617-0521 (org.eclipse.epp.package.jee.product)
> Installed Features:
>  org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY

Not fixed at all.. for me...

January 25th, 2011 I did this:

1. Downloaded Helios Classic again and started it with a new workspace.

2. I put in one project and tested it. It was still slow. 

So slow that the first time I hit a dot it took to long and a sign came up
telling me to remove "Java proposal" checkbox or uninstall some
plugin...eclipse.jdt.. or something. Both alternativs not an option.


I have discovered this:

IT IS ONLY WHEN I USE A CLASS DERIVED FROM JCOMPONENT IT IS SLOW!!!

I even recorded this and put a small film on youtube for you to see:

http://www.youtube.com/watch?v=2OCJo-F-hq0
Comment 21 Remy Suen CLA 2011-01-27 14:13:14 EST
(In reply to comment #17)
> 1. Downloaded Helios Classic again and started it with a new workspace.

What is the name of the file you downloaded?

Also please refrain from posting the same comment four times.
Comment 22 Lars Svensson CLA 2011-01-28 16:31:37 EST
The file I used is called eclipse-SDK-3.6.1-win32.zip

..and I am very sorry about many equal comments... got som message about
unsynced pages.. and did not realize my comments piled up at the bottom...
Comment 23 Remy Suen CLA 2011-01-28 16:37:28 EST
(In reply to comment #22)
> The file I used is called eclipse-SDK-3.6.1-win32.zip

This bug has to do with JAX-WS proposals. Please open a new bug for your problem as your problem seems to deal with regular Java proposals.