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 - org.netbeans.swing.tabcontrol.TabbedContainer.paint: LowPerformance took 53003 ms.
Summary: org.netbeans.swing.tabcontrol.TabbedContainer.paint: LowPerformance took 5300...
Status: RESOLVED DUPLICATE of bug 150197
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-04-27 05:28 UTC by Exceptions Reporter
Modified: 2013-09-02 08:08 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200210


Attachments
nps snapshot (402.41 KB, application/nps)
2013-04-27 05:28 UTC, Exceptions Reporter
Details

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