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 241545

Summary: org.netbeans.modules.versioning.ui.diff.DiffSidebar.paintComponent: LowPerformance took 48956 ms.
Product: versioncontrol Reporter: Exceptions Reporter <exceptions_reporter>
Component: CodeAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal CC: david.zapata, gtzabari, JVThomas, jyeary
Priority: P3 Keywords: PERFORMANCE
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207387
Bug Depends on: 246095    
Bug Blocks:    
Attachments: nps snapshot

Description Exceptions Reporter 2014-02-07 16:01:49 UTC
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
Comment 1 Exceptions Reporter 2014-02-07 16:01:51 UTC
Created attachment 144915 [details]
nps snapshot
Comment 2 Ondrej Vrabec 2014-02-10 08:32:35 UTC
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
Comment 3 _ gtzabari 2014-02-11 18:32:30 UTC
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.
Comment 4 Martin Entlicher 2014-07-28 16:15:27 UTC
Waiting on a document lock in AWT.