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 238471

Summary: org.netbeans.modules.form.VisualReplicator.createClone: LowPerformance took 20502 ms.
Product: guibuilder Reporter: Exceptions Reporter <exceptions_reporter>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205341
Attachments: nps snapshot

Description Exceptions Reporter 2013-11-17 02:04:01 UTC
This bug was originally marked as duplicate of bug 212234, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3.1 (Build 201306052037)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 8

User Comments:
GUEST: Why?



Maximum slowness yet reported was 20502 ms, average is 20502
Comment 1 Exceptions Reporter 2013-11-17 02:04:05 UTC
Created attachment 142275 [details]
nps snapshot
Comment 2 Tomas Pavek 2013-11-18 14:30:53 UTC
The attached snapshot does not show the reported 20s but only 8s in AWT Event Queue thread. Most of it spent in org.jdesktop.beansbinding.Binding.bind(), specifically in constructing BeanInfos for related component classes. It's probably rather unusual taking so much time, it depends on the complexity of the bean classes used in the binding and number of bindings. Same work needs to be done in runtime. So this is related to the internals of the beansbinding library, don't think we should try to workaround in in the IDE.