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 241004 - org.netbeans.modules.java.editor.fold.JavaElementFoldManager$CommitFolds.run: LowPerformance took 21904 ms.
Summary: org.netbeans.modules.java.editor.fold.JavaElementFoldManager$CommitFolds.run:...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2014-01-27 10:16 UTC by Exceptions Reporter
Modified: 2014-08-11 07:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 174479


Attachments
nps snapshot (87.94 KB, application/nps)
2014-01-27 10:16 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-01-27 10:16:25 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
GUEST: Save source code and wait for Netbeans to autodeploy to Tomcat sever

netOnDon: Deleting block of text.



Maximum slowness yet reported was 21904 ms, average is 9518
Comment 1 Exceptions Reporter 2014-01-27 10:16:27 UTC
Created attachment 144401 [details]
nps snapshot
Comment 2 Svata Dedic 2014-07-15 20:58:44 UTC
Wow, 11 seconds in 24x regexp search ? What is the size of the file ?
Comment 3 Svata Dedic 2014-08-11 07:44:30 UTC
I do not track any other similar slowness report since 7.4 version; perhaps code changes from then changed the behaviour so the slowness does not happen ?

Closing as resolved-worksforme; if a slowness caused by CustomFoldManager appears again, I'll change it so that it works with a copy of text so it does not block other threads by render().