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.
The generic Schlieman navigator implementation uses Line-s and LineSet-s to store the nodes positions. In some situations, this leads to a huge number of binary search over the document in NbDocument.findLineNumber() which is slow. For ilustration just open the attached screenshot from netbeans profiler and look at the expanded calltree. The document has just 140 lines with 82 nodes and the NbDocument.findLineNumber() is called 6210 times. Basically the DocumentLine$Set.getCurrent(int) consumes about 50% of time spent in AWT thread during the measurement!
Created attachment 47857 [details] The screenshot of the profiler window showing calltree with the many calls to NbDocument.findLineNumber()
Created attachment 47858 [details] Netbeans profiler snapshot for first keystroke in html editor
should already be fixed.