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.

Bug 64914 - [fold] It takes ages to initialize folding for big files
Summary: [fold] It takes ages to initialize folding for big files
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-09-22 17:26 UTC by Jiri Kovalsky
Modified: 2005-11-04 15:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2005-09-22 17:26:53 UTC
Development build #200509201800 of NetBeans 5.0
Windows XP, JDK 1.5.0_05

Description:
============
This is a similar issue to #55541 reported against HTML editor. I tried to paste
content of the HTML file attached in that issue into index.jsp file and IDE
started to consume 100% CPU and did not finish. I had to kill the IDE otherwise
I would not be even able to file this bug. Please fix the same problem in JSP
editor.
Comment 1 Jiri Kovalsky 2005-09-22 17:27:53 UTC
This is a performance issue.
Comment 2 Marek Fukala 2005-09-23 07:27:33 UTC
fixed

Checking in
web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JspSyntaxSupport.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JspSyntaxSupport.java,v
 <--  JspSyntaxSupport.java
new revision: 1.69; previous revision: 1.68
done
Checking in
web/jspsyntax/src/org/netbeans/modules/web/core/syntax/SyntaxElement.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/SyntaxElement.java,v
 <--  SyntaxElement.java
new revision: 1.2; previous revision: 1.1
done
Checking in
web/jspsyntax/src/org/netbeans/modules/web/core/syntax/folding/JspFoldManager.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/folding/JspFoldManager.java,v
 <--  JspFoldManager.java
new revision: 1.35; previous revision: 1.34
done
Comment 3 Marek Fukala 2005-09-23 14:16:21 UTC
Checking in lib/src/org/netbeans/editor/ext/html/HTMLSyntaxSupport.java;
/cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLSyntaxSupport.java,v 
<--  HTMLSyntaxSupport.java
new revision: 1.19; previous revision: 1.18
done
Comment 4 Jiri Kovalsky 2005-11-04 15:32:35 UTC
It's really super fast now ! Works fine in development build #200511031900 of
NetBeans 5.0.