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 211574 - New performance problem with finding packages
Summary: New performance problem with finding packages
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on:
Blocks:
 
Reported: 2012-04-23 09:34 UTC by Peter Nabbefeld
Modified: 2012-04-25 14:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nabbefeld 2012-04-23 09:34:37 UTC
"Finding packages" seems to scan all the packages in Favorites tab recursively - which takes about an hour on my PC (there are some huge directories in Favorites tab: NetBeansProjects, my home dir (which in turn includes NetBeansProjects) even my whole HDD for looking up files in some special cases).

Didn't notice such problems up to now, seems "Finding packages" worked only on opened folders - up to now.
Comment 1 Jaroslav Havlin 2012-04-25 12:02:41 UTC
I'm sorry, I do not know what you mean with "Finding Packages".
Can you please add steps to reproduce? Thank you.
Comment 2 Jaroslav Havlin 2012-04-25 14:09:30 UTC
Message containing "Finding Packages" can be found in PackageView.java in module java.project. Reassigning. Please assign back if it is not the right component.
Comment 3 Tomas Zezula 2012-04-25 14:43:35 UTC
Java project has nothing in common with Favorites tab, it's project ui.
Peter, please describe the steps to reproduce, thanks.

Reassigning according to Bundle key is not very sophisticated evaluation.
"Finding packages" key is used by package view when source root in package view is expanded.
The PackageView needs to find out all folders under the source root (recursive traversal of folder) which
may take time.