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 229278

Summary: org.netbeans.swing.tabcontrol.TabbedContainer.paint: LowPerformance took 72725 ms.
Product: editor Reporter: Stevie69
Component: Formatting & IndentationAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gtzabari, kinta, MeinAccount, Olorin, seshijonnala
Priority: P2 Keywords: PERFORMANCE
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 200373
Attachments: nps snapshot
nps snapshot

Description Stevie69 2013-05-02 13:55:55 UTC
This bug was originally marked as duplicate of bug 189647, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01, Java(TM) SE Runtime Environment, 1.6.0_31-b05
OS: Windows 7

User Comments:
Stevie69: Source/Format for a large Java file



Maximum slowness yet reported was 72725 ms, average is 72725
Comment 1 Stevie69 2013-05-02 13:56:07 UTC
Created attachment 134040 [details]
nps snapshot
Comment 2 Stanislav Aubrecht 2013-05-07 10:45:13 UTC
DiffSidebar acquires document read lock when painting.
Comment 3 Ondrej Vrabec 2013-05-07 11:20:57 UTC
org.netbeans.modules.java.source.save.Reformatter.reformat()	99.87181	62,060 ms (99.9%)	62,060 ms
or 
org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask()	99.87181	62,060 ms (99.9%)	62,060 ms
is holding the write long for too long.
Comment 4 kinta 2013-05-11 16:28:52 UTC
Created attachment 134318 [details]
nps snapshot

switching between browser and netbeans
Comment 5 Dusan Balek 2013-05-29 13:26:11 UTC
Most of the attached snapshots show extremely slow javascript formatting.

*** This bug has been marked as a duplicate of bug 189647 ***