apache / netbeans

Apache NetBeans
https://netbeans.apache.org/
Apache License 2.0
2.65k stars 850 forks source link

Find file by name is extremely slow #6250

Open cerebrotecnologico opened 1 year ago

cerebrotecnologico commented 1 year ago

Apache NetBeans version

Apache NetBeans 18

What happened

Performance of Navigate -> Go to file ... is extremely slow (or at least this is the case under MacOS X Monterey) It would expect this should be as fast as using a Unix command:

find . -name "pattern"  -type f

How to reproduce

Open a Maven project with several submodules and sub-submodules and thousands of files. Try to find a specific file on a submodule or subsubmodule not currently open using Navigate -> Go to file ...

Did this work correctly in an earlier version?

No / Don't know

Operating System

MacOS Monterey 12.6.7

JDK

JDK 11 - OpenJDK 20.0.1

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

No

asbachb commented 1 year ago

Tried to reproduce this on NetBeans 19-rc1 on Linux. Opened wildfly-29.0.0.Final opened parent and checked Open Required Projects. Searched for ManagementAdaptor which was really quick.

I wonder if this is MacOS related or something else with your system.

neilcsmith-net commented 1 year ago

What is the architecture of your OS and the JDK? You mentioned two JDK. Which JDK are you actually using to run NetBeans on, and from which vendor?