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.
Summary: | org.netbeans.modules.csl.navigation.ElementNode.updateRecursively slow in AWT EDT | ||
---|---|---|---|
Product: | editor | Reporter: | David Konecny <dkonecny> |
Component: | CSL (API & infrastructure) | Assignee: | David Strupl <dstrupl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andyr123, cjoasis, mfukala, pjiricka, tprochazka |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 165940 |
Attachments: | nps snapshot |
Description
David Konecny
2011-04-05 01:15:17 UTC
Created attachment 107494 [details]
nps snapshot
Whenever IDE is frozen while editing my big HTML file I can see in threaddump: org.netbeans.modules.csl.navigation.ElementNode.updateRecursively(ElementNode.java:298) I wonder whether it could be optimized? My navigation window is not even opened - it is in collapsed mode. Opening it I can see thousands of nodes for my big HTML file. I guess in this case it is pretty much pointless to try to draw navigation window with all nodes from my HTML document. Should not there be some threshold after which we simply give creating Navigation window?? > I wonder whether it could be optimized?
Just go ahead and attach a patch. I am ready to integrate any improvements into CSL before CSL gets real owner ...
Changeset: 7bf99386501e Author: David Strupl <dstrupl@netbeans.org> Date: 2012-03-26 10:17 Message: CSL navigator: updateRecursively slow in AWT EDT --> moved out from AWT EDT. Let's see what is going to break. Issue #197416 - org.netbeans.modules.csl.navigation.ElementNode.updateRecursively slow in AWT EDT Integrated into 'main-golden', will be available in build *201203271056* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7bf99386501e User: David Strupl <dstrupl@netbeans.org> Log: CSL navigator: updateRecursively slow in AWT EDT --> moved out from AWT EDT. Let's see what is going to break. Issue #197416 - org.netbeans.modules.csl.navigation.ElementNode.updateRecursively slow in AWT EDT |