Bug 131608 - Long delays in Content Assist in JSP Editor
Summary: Long delays in Content Assist in JSP Editor
Status: CLOSED DUPLICATE of bug 124483
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.jsp CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on: 126277
Blocks:
  Show dependency tree
 
Reported: 2006-03-13 17:03 EST by Arthur Ryman CLA
Modified: 2006-11-28 15:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Ryman CLA 2006-03-13 17:03:41 EST
I was testing WTP 1.5 M5 and ran into a severe performance problem in JSP content assist. I was getting 10 sec or longer delays for the suggestions to appear, during which time eclipse was "Not Responding". To recreate, do the following:

1. Create a new workspace
2. Create a new Dynamic Web project (use Tomcat 5.0.28, but that shouldn't matter)
3. Create a new JSP
4. Insert in the body <%= new Date
5. Press control+space

There is a long (> 10 sec) delay before the suggestion menu appears.
Comment 1 Phillip Avery CLA 2006-03-13 17:32:29 EST
JDT changed the way javadoc is read which significantly slowed JSP content assist proposal generation.

We might be able to work around it by delaying the "getAdditionalInfo()" call as suggested in the comments for the JDT bug I opened (126277) to track the problem.

*** This bug has been marked as a duplicate of 124483 ***
Comment 2 Arthur Ryman CLA 2006-06-02 15:50:41 EDT
Performance of content assist is back to normal in WTP 1.5 RC5. Verfied.
Comment 3 John Lanuti CLA 2006-11-28 15:39:02 EST
This is part of a mass update to close out all stale WTP defects already verified by the reporter but awaiting closure by the assignee.  If you feel this defect was closed inappropriately, please reopen.

Thanks, John Lanuti