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 219589 - 25s - search is slow
Summary: 25s - search is slow
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords: PERFORMANCE
: 222959 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-05 11:44 UTC by eskild
Modified: 2012-12-10 09:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193113


Attachments
nps snapshot (202.60 KB, application/nps)
2012-10-05 11:45 UTC, eskild
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eskild 2012-10-05 11:44:54 UTC
This bug was originally marked as duplicate of bug 177698, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Linux

User Comments:
eskild: Started a 'find' from the Projects window.



Maximum slowness yet reported was 24239 ms, average is 24239
Comment 1 eskild 2012-10-05 11:45:01 UTC
Created attachment 125445 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2012-10-31 18:11:56 UTC
One call to 
org.netbeans.modules.cnd.makeproject.ui.FolderSearchInfo.getSearchRoots()	54.703617	13 189 ms (54,7%)	13 189 ms	1
creates more than 300 calls to various fileobjects.
Comment 3 Jaroslav Havlin 2012-11-01 15:36:52 UTC
http://hg.netbeans.org/core-main/rev/f3458b338276
Fixed. Thank you for reporting.
Comment 4 Quality Engineering 2012-11-03 02:43:38 UTC
Integrated into 'main-golden', will be available in build *201211030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f3458b338276
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #219589: Call BasicComposition.getRootFiles() in background; Remove computation of unused relative paths
Comment 5 Andrew Krasny 2012-12-10 09:19:06 UTC
*** Bug 222959 has been marked as a duplicate of this bug. ***