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.
Adding business method to session or entity bean is slow, it takes from 3 to 5 seconds, limit is 1 second. We don't measure adding other methods (like home, create, find), but I assume it is slow as well. If you can't squeeze it to 1 second, consider adding a progress bar. Add business method to EB RHE Linux 3 Solaris 9 WinXP 1st usage 2687 ms 3208 ms 3145 ms Subsequent usage 2657 ms 2679 ms 3082 ms Add business method to SB RHE Linux 3 Solaris 9 WinXP 1st usage 3240 ms 5242 ms 5176 ms Subsequent usage 2759 ms 3668 ms 3691 ms
What is measured? Time from pressing pressing OK button in method customizer until generated code appears in editor?
Yes, exactly.
Fixed. Not performance, but progress bar was added. Please test it on your machine (where the results come from), on my it is really fast, so I don't even see it :-) http://j2ee.netbeans.org/source/browse/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/ui/logicalview/ejb/action/AddSelectMethodStrategy.java?r1=1.1&r2=1.2 http://j2ee.netbeans.org/source/browse/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/ui/logicalview/ejb/action/AbstractAddMethodStrategy.java?r1=1.1&r2=1.2