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 - org.netbeans.modules.versioning.ui.diff.DiffSidebar.paintComponent: LowPerformance took 48956 ms.
Summary: org.netbeans.modules.versioning.ui.diff.DiffSidebar.paintComponent: LowPerfor...
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords: PERFORMANCE
Depends on: 246095
Blocks:
  Show dependency tree
 
Reported: 2014-02-07 16:01 UTC by Exceptions Reporter
Modified: 2014-07-29 09:28 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207387


Attachments
nps snapshot (138.82 KB, application/nps)
2014-02-07 16:01 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.