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.
This bug was originally marked as duplicate of bug 239532, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0 Beta (Build 201401141042) VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02 OS: Linux User Comments: GUEST: Try to format locked (read-only) file Maximum slowness yet reported was 48956 ms, average is 48956
Created attachment 144915 [details] nps snapshot
org.netbeans.modules.javascript2.editor.formatter.FormatContext.insertWithOffsetDiff() 99.609085 58,835 ms (99.6%) blocked by uihandler: org.netbeans.modules.uihandler.UIHandler.waitFlushed() 97.95072 57,855 ms (98%) 0.000 ms
My report is specific to the Javascript code-format. It is not unusual for it to take 20-30 seconds to process a file of 1000 lines. I am expecting processing time to be 3 seconds or less.
Waiting on a document lock in AWT.