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 239464

Summary: Open file
Product: utilities Reporter: akobberup
Component: Jump ToAssignee: Tomas Zezula <tzezula>
Status: RESOLVED WORKSFORME    
Severity: normal CC: markiewb
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 8 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: .npss file attached from NetBeans
.npss file attached from NetBeans
messages
gestures

Description akobberup 2013-12-13 12:28:19 UTC
I wonder why "goto file" (shift + alt + "o") takes so much time?

When i highlight a java file name and hit the beforementioned shortcut to open the dialog, it will last around ten seconds before the result list is filled out (in this case with the java file it self and three localized files that have the same name + a surfix).

If i search the folder from windows for the filename, it will find all results within a second - and the folder is not indexed.

My src folder contains 3407 files, so i done get it why it takes so much time to find the files?

My pc is an i5 with 8 gm ram and a OCZ Vertex 3 SSD so i dont see any limitations there that can explain it.
Comment 1 akobberup 2013-12-13 12:29:03 UTC
Created attachment 143147 [details]
.npss file attached from NetBeans

.npss file
Comment 2 Petr Cyhelsky 2013-12-13 13:04:46 UTC
please attach your messages.log and uigestures files (both from the same run as the npss, not available, please make new npss and attach all three files), thank you
Comment 3 akobberup 2013-12-14 15:27:33 UTC
Created attachment 143178 [details]
.npss file attached from NetBeans

.npss file
Comment 4 akobberup 2013-12-14 15:28:21 UTC
Created attachment 143179 [details]
messages
Comment 5 akobberup 2013-12-14 15:28:42 UTC
Created attachment 143180 [details]
gestures
Comment 6 akobberup 2013-12-14 15:30:15 UTC
This time i just searched for *.sql files in a project consisting of 252 files - and it took 30 seconds before the ten or so sql files were shown.

Please say so if you need anything else from me.
Comment 7 Petr Cyhelsky 2013-12-16 08:54:15 UTC
30s spent in org.netbeans.modules.jumpto.file.FileSearchAction$Worker.getFileNames()

reassigning to jump to
Comment 8 markiewb 2016-02-13 13:05:09 UTC
Try out NB8.1. There had been performance-improvements for the dialog.

http://wiki.netbeans.org/NewAndNoteworthyNB81#Jump_To