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.
[nb_dev](200407141800), [jdk1.5.0](beta3 - b58) on our lab machines: --------------------- Linux RH9 JDS2 Sol9 W2K WXP 1st usage 426 417 639 429 488 2nd usage 68 67 117 62 65 --------------------- Test case: - run IDE - Switch to Projects view - Right-click on PerformanceTestData in Projects view EXPECTED RESULT: Popup menu comes within 100ms. ------------ on my faster notebook / RH Linux 9/Gnome/JDK1.5.0(beta3), it takes : ~220 ms
I will look at it.
Approximately half of the time is spent in CommonProjectActions.newFileAction() action. I will check whether it could be optimized somehow.
I made newFileAction lazy. It improved numbers on my fast notebook from 220-240 to 70-120. Please measure on your slower machines and let me know if it is sufficient. Fixed in: Checking in src/org/netbeans/modules/project/ui/actions/NewFile.java new revision: 1.15; previous revision: 1.14
Verified. Test results on lab machines now produce the following numbers: [nb_dev](200410121800) --------------------- Linux RH9 JDS2 Sol9 W2K WXP 1st usage 91 115 191 78 83 2nd usage 65 63 111 59 65