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 222619

Summary: options.OptionsPanel.setCurrentCategory() does to much I/O in EDT
Product: platform Reporter: Alexander Simon <alexvsimon>
Component: Options&SettingsAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 180542
Attachments: nps snapshot

Description Alexander Simon 2012-11-22 18:47:29 UTC
This issue was reported manually by alexvsimon.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build 20121122-41b736ab463e)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.10-b01, Java(TM) SE Runtime Environment, 1.6.0_35-b10
OS: Linux
Maximum slowness yet reported was 93413 ms, average is 48641
Comment 1 Alexander Simon 2012-11-22 18:47:33 UTC
Created attachment 128278 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2012-11-29 15:09:01 UTC
One call to
org.netbeans.modules.options.OptionsPanel.setCurrentCategory()	100.0	3,740 ms (100%)	3,649 ms
generates extensive calls to org.netbeans.modules.editor.mimelookup.impl.CompoundFolderChildren.rebuild()	76.35572	2,855 ms (76.4%)	2,855 ms	32

probably do this initialization outside of EDT.
Comment 3 Theofanis Oikonomou 2012-11-29 15:39:15 UTC
(In reply to comment #2)
> probably do this initialization outside of EDT.

already planned

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