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 - options.OptionsPanel.setCurrentCategory() does to much I/O in EDT
Summary: options.OptionsPanel.setCurrentCategory() does to much I/O in EDT
Status: RESOLVED DUPLICATE of bug 185906
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-11-22 18:47 UTC by Alexander Simon
Modified: 2012-11-29 15:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 180542


Attachments
nps snapshot (142.92 KB, application/nps)
2012-11-22 18:47 UTC, Alexander Simon
Details

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