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.
Summary: | Context menu on projects right-click appears after 2 seconds (over 300 modules) | ||
---|---|---|---|
Product: | projects | Reporter: | NukemBy |
Component: | Maven | Assignee: | Tomas Stupka <tstupka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | markiewb |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
selfsampler-2seconds-for-context-menu.npss
Screenshot of sampling - org.netbeans.modules.maven.ActionProviderImpl is too slow |
Description
NukemBy
2015-03-03 14:29:01 UTC
Created attachment 152375 [details]
Screenshot of sampling - org.netbeans.modules.maven.ActionProviderImpl is too slow
See screenshot - org.netbeans.modules.maven.ActionProviderImpl is too slow
most of the time spent while retrieving actions for the ctx menu, which crumbles down into many calls, most of them without an obvious potential for improvement. It is a big amount of projects. project packaging in scope of ActionToGoalUtils.isActionEnable is accessed repeatably event if the value was already queried for the given project. Avoiding that saved in my test scenario around 30% of the necessary time, so will fix at least that. fixed in jet-main #99c3270eda64 |