If you open any nb.org module project and expand its Source Packages or Unit Test Packages node in the Projects tab, the
IDE will freeze for a few seconds (blocking EQ) before they are displayed. Thread dumps reveal that the IDE is mostly
The block "we assume that the Project should not be ignored" not only has no basis in fact, but it seems to be
particularly slow. It should be deleted. The rest of the time seems to be spent running the pattern matcher.
Consolidating the regexps into a single one using '|' for alternation does not seem to help significantly.
I will remove the complained of block of code HgUtils.isIgnored.
A large number of the calls to HgUtils.isIgnored are caused by FileStatusCache.getCachedStatus called from
I believe that FileStatusCache.getCachedStatus should not be calling HgUtils.isIgnored. I have removed this call which
seems to have speeded things up.
Created attachment 61332 [details]
*** Issue 132835 has been marked as a duplicate of this issue. ***
date: Tue May 13 14:02:46 2008 +0100
summary: 134902: Remove redundant code from HgUtils.isIgnored; Do not call HgUtils.isIgnored in