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 188104

Summary: 21s in jindent.plugin.netbeans.FormatterUtil.getInstance()
Product: third-party Reporter: dtoffe <dtoffe>
Component: -- Other --Assignee: issues@third-party <issues>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 161410
Attachments: nps snapshot

Description dtoffe 2010-06-25 20:29:46 UTC
Build: NetBeans IDE 6.9 (Build 201006101454)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

User Comments:
GUEST: Press a tab button

GUEST: Pressed enter.

dtoffe: Running a plugin suite, the suite consists of one library wrapper (OpenJPA 2.0.0) and one module with a file creation style wizard, in which I connect to a database and select database objects to call a code generation tool. The slowness occurs when calling Run action on module suite.
Setup: Netbeans 6.9, JDK 1.6.0.20, Windows XP 5.1.2600 x86



Maximum slowness yet reported was 21836 ms, average is 12643
Comment 1 dtoffe 2010-06-25 20:30:01 UTC
Created attachment 100429 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2010-06-28 04:56:57 UTC
The last snapshot shows JIndent being initialized for at least 5s. Probably pre-read the XML outside of AWT thread as soon as an editor is initialized.
Comment 3 Marian Mirilovic 2011-11-23 12:22:35 UTC
Nothing can be done on NB side, please report against http://www.jindent.com/, Thanks in advance.