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 173720 - [68cat] [scanning] Very long Java project scanning.
Summary: [68cat] [scanning] Very long Java project scanning.
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-10-05 09:05 UTC by nleck
Modified: 2009-10-08 02:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
profile ( .nps file) (58.71 KB, application/octet-stream)
2009-10-05 09:06 UTC, nleck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nleck 2009-10-05 09:05:06 UTC
Using version 200910010513 the first scan of a large project of ~6000 source files is very slow again ~1 hour.
Comment 1 nleck 2009-10-05 09:06:32 UTC
Created attachment 88812 [details]
profile ( .nps file)
Comment 2 Tomas Pavek 2009-10-05 14:43:58 UTC
Our automatic measurements don't show any recent regression in initial scan. Didn't your envirinment change recently? 
If not we should try to reproduce on the sample project we have from you. Do you remember what was the last build you 
used before 200910010513 where it was fine? Thnaks.
Comment 3 nleck 2009-10-05 23:15:29 UTC
I use Linux mainly, then Solaris and sometimes when I have too Windoze. 

The build I was using previously on Solaris was 6.7.1, 6.7 didn't work well on the bank's Solaris environment as
everything is on NFS mounts. I tried the new daily build and the initial scan took over an hour ( maybe much more as I
went out in the end)

The bank's project size is now 9,077 Java source files which is just insane. 
Comment 4 Vitezslav Stejskal 2009-10-06 11:09:45 UTC
"The bank's project size is now 9,077 Java source files which is just insane." - Are these files on NFS?

I can see from the profiler snapshot that java indexing was running, which is not surprising of course. It seemed to
measure data only for ~15s. It might be useful to run the IDE with
-J-Dorg.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.level=FINE and attach its log file here. But in
general, if you have 9077 java files on a NFS mounted disk then it's just going to be slow. What I don't understand is
why 6.7.1 was fast under the same circumstances. One possible difference could be the location of you userdir. Is it
stored on a local disk for both 6.7.1 and 6.8dev? Thanks
Comment 5 nleck 2009-10-06 11:12:55 UTC
Yes, all files are on NFS mounts. The number of source files are growing on a daily bases.

I'll get the timings for 6.7.1 and 6.8dev it may well be a function of the increase in the project size. 
Comment 6 nleck 2009-10-08 02:10:55 UTC
Sorry... this is a false alarm.