[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-08-20 Thread Shevek (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16911875#comment-16911875
 ] 

Shevek commented on NETBEANS-2661:
--

Possibly related: I used to have to "download sources" once per hierarchy of 
projects, and netbeans understood that the sources were shared. Now I have to 
do it for each gradle submodule in a multi-module project?

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence, pull-request-available
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> image-2019-08-15-07-05-38-978.png, netbeans-find-usages.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-08-19 Thread Shevek (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910808#comment-16910808
 ] 

Shevek commented on NETBEANS-2661:
--

Related?

WARNING [org.openide.filesystems.FileUtil]: 
FileUtil.normalizeFile(/home/shevek/.gradle/caches/modules-2/files-2.1/org.apache.parquet/parquet-column/../java.base/share/classes/java/lang/Object.java)
 took 4,799 ms. Result is 
/home/shevek/.gradle/caches/modules-2/files-2.1/org.apache.parquet/java.base/share/classes/java/lang/Object.java
WARNING [org.openide.filesystems.FileUtil]: 
FileUtil.normalizeFile(/home/shevek/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/../java.base/share/classes/java/lang/Object.java)
 took 2,730 ms. Result is 
/home/shevek/.gradle/caches/modules-2/files-2.1/org.springframework/java.base/share/classes/java/lang/Object.java

FWIW there is no java.base in there, this is presumably something to do with 
java 9 modules, although I'm not using Java 9.

shevek@starling:~/.gradle/caches/modules-2/files-2.1/org.springframework$ ls
spring-aop  spring-context-support  spring-messaging  spring-web
spring-asm  spring-core spring-parent spring-webmvc
spring-beansspring-expression   spring-test   spring-websocket
spring-context  spring-jdbc spring-tx


> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence, pull-request-available
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> image-2019-08-15-07-05-38-978.png, netbeans-find-usages.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-08-15 Thread Jan Lahoda (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908725#comment-16908725
 ] 

Jan Lahoda commented on NETBEANS-2661:
--

FWIW, I've added a work-in-progress pull request here:

[https://github.com/apache/netbeans/pull/1430]

 

That should eliminate almost all the time spent in 
QuerySupport.findBinaryRootsForSourceRoot. Needs more testing to see if it 
breaks something important (it relies on the BinaryForSourceQuery which was 
added later, and so may be a little less stable/broadly implemented).

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence, pull-request-available
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> image-2019-08-15-07-05-38-978.png, netbeans-find-usages.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-08-15 Thread Shevek (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908394#comment-16908394
 ] 

Shevek commented on NETBEANS-2661:
--

Is it worth me trying removing all NetBeans "Libraries" from my 
distribution/installation? Is that what this thing is searching?

Note ALSO that when we use Gradle, we use a lot of implementation vs API 
dependencies, and if the Library search is searching those, does it double 
search things where they aren't transitively visible?

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> image-2019-08-15-07-05-38-978.png, netbeans-find-usages.npss
>
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-08-15 Thread Shevek (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908391#comment-16908391
 ] 

Shevek commented on NETBEANS-2661:
--

```
shevek@starling:~$ ls /usr/lib/jvm/openjdk-8/
src.zip
```

Just looking at Tools/Libraries, which I never use, BTW, nor do I use NetBeans 
libraries in my project(s), a number of the libraries defined there have 
nbinst:// URLs pointing to nonexistent files/JARs in them. e.g. JAX-WS has a 
(broken?) nbinst URL for jaxb-impl.jar and jaxb-xjc.jar , both of which 
libraries we DO use in our projects, but our use is directly from Maven Central 
and has nothing to do with NetBeans libraries. Is there a lead there?

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> image-2019-08-15-07-05-38-978.png, netbeans-find-usages.npss
>
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-08-15 Thread Shevek (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908262#comment-16908262
 ] 

Shevek commented on NETBEANS-2661:
--

NetBeans hasn't been able to find Guava sources recently either, although that 
may be their packaging issue, not mine.

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> image-2019-08-15-07-05-38-978.png, netbeans-find-usages.npss
>
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-08-15 Thread Shevek (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908248#comment-16908248
 ] 

Shevek commented on NETBEANS-2661:
--

Can I use a breakpoint or a heap dump or something to trap this?

The only thing I've done with netbeans is unzip the binary and remove 
masterfs-linux.
The only thing I've done with JDK is apt-get install the binaries and sources, 
and then configure the location of the sources in the JavaPlatforms dialog.

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> image-2019-08-15-07-05-38-978.png, netbeans-find-usages.npss
>
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-08-15 Thread Laszlo Kishalmi (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908114#comment-16908114
 ] 

Laszlo Kishalmi commented on NETBEANS-2661:
---

We need something that can reason the following calls:

!image-2019-08-15-07-05-38-978.png!

So why the Java SE root paths are checked inside of NB installation? We need 
more data and probably a project that can make this issue reproducible. 
Otherwise we are stuck as I cannot reproduce this one.

 

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> image-2019-08-15-07-05-38-978.png, netbeans-find-usages.npss
>
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-08-14 Thread Shevek (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907711#comment-16907711
 ] 

Shevek commented on NETBEANS-2661:
--

Additional note: I did that last test immediately after a clean restart of 
netbeans and waiting for quiescence, so there's no other noise in the system.

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> netbeans-find-usages.npss
>
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-08-14 Thread Shevek (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907406#comment-16907406
 ] 

Shevek commented on NETBEANS-2661:
--

Also, the thing is, whatever data it spent 8 minutes initializing, the next 
time I do a find-usages, it initializes it again, so in combination with the 
IDE needing frequent restarts, this find-usages time is EVERY SINGLE TIME. So I 
just never use it any more.

Seems to be related to the number of open projects, and netbeans seems 
currently to be confused about which dependencies are unique vs shared - 
there's a bunch of issues around that which I havent' reported yet - could it 
be scanning JDK, Guava, etc multiple times, once per open project? This does 
seem to be related to the number of open projects.

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> netbeans-find-usages.npss
>
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-08-14 Thread Shevek (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907399#comment-16907399
 ] 

Shevek commented on NETBEANS-2661:
--

Wasn't there once a thing which limited the scope of a search to e.g. open 
projects? Did that go away? I've no idea why it might be searching JDK for a 
method that JDK can't possibly call.

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> netbeans-find-usages.npss
>
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-08-14 Thread Shevek (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907396#comment-16907396
 ] 

Shevek commented on NETBEANS-2661:
--

ok, it finally completed, took about 8 minutes, and it found one usage only.

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence
> Attachments: find-usages-is-totally-unusable-11.1.npss, 
> netbeans-find-usages.npss
>
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-06-13 Thread Shevek (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16863447#comment-16863447
 ] 

Shevek commented on NETBEANS-2661:
--

Great! It sounds like catching these traces is one of the more valuable things 
I can do, so I'll keep posting them.

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence
> Attachments: netbeans-find-usages.npss
>
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2661) find-usages takes a LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

2019-06-13 Thread Laszlo Kishalmi (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16863385#comment-16863385
 ] 

Laszlo Kishalmi commented on NETBEANS-2661:
---

Thanks for the snapshot! It has really valuable information.

It seems determining the source roots are a really time consuming procedure for 
two main reasons (at first sight):
 # The Java SE source libraries doing some (most probably unnecessary) 
expensive URL computing.
 # The default project owner query has a mutex that serialize the file 
ownership detection. Which is probably not required / cacheable

So I think you cought a big fish here, we just need to fry it!

> find-usages takes a 
> LO
> --
>
> Key: NETBEANS-2661
> URL: https://issues.apache.org/jira/browse/NETBEANS-2661
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: Linux, JDK 1.8, etc
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: PERFORMANCE, Performance, perf, perfomance, performance, 
> performence
> Attachments: netbeans-find-usages.npss
>
>
> OOOng time, like 5 minutes. Please see attached profile.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists