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 229099

Summary: org.netbeans.swing.tabcontrol.TabbedContainer.paint: LowPerformance took 53003 ms.
Product: editor Reporter: Exceptions Reporter <exceptions_reporter>
Component: LexerAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dkonecny, kosmonaffft
Priority: P3 Keywords: PERFORMANCE
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 200210
Attachments: nps snapshot

Description Exceptions Reporter 2013-04-27 05:28:38 UTC
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
Comment 1 Exceptions Reporter 2013-04-27 05:28:44 UTC
Created attachment 133866 [details]
nps snapshot
Comment 2 Stanislav Aubrecht 2013-04-29 08:56:43 UTC
versioning.ui.diff.DiffSidebar.paintComponent() acquires document readLock()
Comment 3 Ondrej Vrabec 2013-04-29 09:05:56 UTC
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
Comment 4 David Konecny 2013-06-04 23:31:27 UTC
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.
Comment 5 Miloslav Metelka 2013-09-02 08:08:56 UTC
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 ***