This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
JSP editing is slow (simple character addings). JDK 1.3.1; 700MHz Intel; win2000 JSP - 400 lines; 114 columns ("<P><A href="/hello.jsp">Hello</A></P> <P><A href="/hello.jsp">Hello</A></P> <P><A href="/hello.jsp">Hello</A></P> ") Looks like problem in JspMultiSyntax.canBeHostDelimiter(). More info in attached files from the OptimizeIt.
Created attachment 2272 [details] the OptimizeIt output 1
Created attachment 2273 [details] the OptimizeIt output 2
It looks like, the canBeHostDelimiter method is called 154000 times during a simple 10 spaces.
Target milestone -> 3.3.1.
A likely reason is the fact that the whole file is parsed under some circumstances, not only the changed part.
Set target milestone to TBD
Tegal planning
It might be related to issue #30000. Also we can check how it behaves with new parser
This is not easy to fix it. And any change in JspMultiSyntax is very risky. So I think we will not fix this for 3.6
fixed - The causes of the problem were indentation engine and code completion demanding tasks performed after each typed character in the editor. The performance problem was especially apparent when editing in a large block of HTML code. When there were JSP tags or scriptlets around the edited place the performance was not so terrible. The fix could possibly affect jsp code completion autopopup and JSP files reformating and indentation. Checking in JspSyntaxSupport.java; /cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JspSyntaxSupport.java,v <-- JspSyntaxSupport.java new revision: 1.37; previous revision: 1.36 done Checking in JspFormatter.java; /cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JspFormatter.java,v <-- JspFormatter.java new revision: 1.5; previous revision: 1.4 done
V