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 217723 - 42s - slow appearance of popup menu for Make file data object
Summary: 42s - slow appearance of popup menu for Make file data object
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-09-03 08:11 UTC by Exceptions Reporter
Modified: 2012-12-13 07:21 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182595


Attachments
nps snapshot (361.77 KB, application/nps)
2012-09-03 08:11 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-09-03 08:11:34 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Windows 7

User Comments:
GUEST: I dont know!



Maximum slowness yet reported was 42632 ms, average is 22923
Comment 1 Exceptions Reporter 2012-09-03 08:11:38 UTC
Created attachment 123811 [details]
nps snapshot
Comment 2 Alexander Simon 2012-09-13 08:26:47 UTC
Problem method is Utilities.actionsForPath().
It blocks EDT for a while.
Reassign to evaluation.
Comment 3 Jaroslav Tulach 2012-11-05 13:16:59 UTC
Well, try to fix your harddisk, so loading of classes from it is faster. 

Should you consider this case important from CND point of view, try to pre-load important objects into memory when a CND project is created/opened. When the actual right-click on the Makefile data object happens there does not seem anything to do to speed things up (in case of such a slow disk access).
Comment 4 Vladimir Voskresensky 2012-11-07 10:02:11 UTC
Looks like the problem is not only with disk, but with system (and jvm) in principle. The other strange hotspot method in snapshot is SwingUtilities.isEDT which goes into "native" and spends 10sec there (while being in EDT)
Comment 5 Alexander Simon 2012-12-13 07:21:10 UTC
Problem in software/hardware of user computer.
Do not fix.