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 186803 - Low performance of creating/building small project if huge project is opened.
Summary: Low performance of creating/building small project if huge project is opened.
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-05-27 12:19 UTC by Alexander Simon
Modified: 2010-05-28 12:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (22.74 KB, text/plain)
2010-05-27 12:19 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2010-05-27 12:19:26 UTC
Created attachment 99539 [details]
thread dump

Step to reproduce:
- Open huge project (for example chromium)
- wait parsing and checking
- Create sample "welcome"
See a long hang after "finish" button in new project wizard. It can be couple of minutes (up to 10 minutes).

Slowness in method FileBasedFileSystem.refresh() that called from MakeSampleProjectGenerator.postProcessProject().
Comment 1 Alexander Simon 2010-05-27 12:23:06 UTC
Another test step to reproduce:
- open all modules in cnd and dlight clusters
- wait finishing scanning
- create welcome sample
See the same slowness.
Comment 2 Vladimir Voskresensky 2010-05-27 12:46:04 UTC
this issue is connected with fix for issue #124952
Comment 3 Vladimir Voskresensky 2010-05-27 14:23:00 UTC
The same issue occurs if you try to clean&&build Welcome when big project is opened => clean && build takes minutes to finish
Comment 4 Alexander Simon 2010-05-27 15:23:53 UTC
Fix was reviewed. It safe and right.
Comment 5 Alexander Pepin 2010-05-27 16:19:04 UTC
verified in rc1 build with provided .jar file. Please push the fix into release69 clone.
Comment 6 Alexander Simon 2010-05-27 16:24:16 UTC
fixed in release69 branch:
http://hg.netbeans.org/release69/rev/9f37455fd168
Comment 7 Quality Engineering 2010-05-28 08:04:22 UTC
Integrated into 'main-golden', will be available in build *201005280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/326e7eeebc44
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #186803 -  Low performance of creating/building small project if huge project is opened.
Comment 8 Alexander Pepin 2010-05-28 12:49:31 UTC
verified in rc2 build