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.
Build: NetBeans IDE 7.3 (Build 201302132200) VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02 OS: Windows 8 User Comments: kosmonaFFFt: Open file... GUEST: I've just reformatted a html twig layout during FTP download. Maximum slowness yet reported was 53003 ms, average is 28210
Created attachment 133866 [details] nps snapshot
versioning.ui.diff.DiffSidebar.paintComponent() acquires document readLock()
holding write lock for way too long when reformatting code in org.netbeans.modules.css.editor.indent.CssIndentTask.reindent() 99.86448 42,919 ms (99.9%) 42,919 ms
We've had this problem in the past and at that time it boiled down to editor being slow in applying indent changes. In attached snaphost 40seconds are spent in the lexer.
We need to implement turning off of the lexer's token hierarchy during reformat to fix this. *** This bug has been marked as a duplicate of bug 150197 ***