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 209433 - Suite rebuild takes too long
Summary: Suite rebuild takes too long
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-03-11 13:55 UTC by Egor Ushakov
Modified: 2012-03-17 10:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2012-03-11 13:55:22 UTC
If a NB suite contains more than 10 modules than to rebuild it even without any changes in any of its modules takes significant amount of time. So if we run a suite we need to wait ~30 seconds for it to check everything. This is very inconvenient.
Comment 1 Jesse Glick 2012-03-14 18:24:20 UTC
I made a suite with 11 modules and an incremental build took four seconds. Not great, but not so terrible. Why would you build the entire suite every time you make a change, anyway? You can Build Project on modified modules, and Run Project to build a module and start its suite. That said, it can be sped up by avoiding repeated taskdefs and keeping the ModuleListParser caches.
Comment 2 Jesse Glick 2012-03-14 18:33:12 UTC
core-main #af3d15d8eda2
Comment 3 Egor Ushakov 2012-03-15 08:59:06 UTC
I run suite just because sometimes I do not know (or remember) what module  modified files belong to, or there are several modules involved. If that could be faster that would be great, I'll check the fix, thanks!
Comment 4 Vladimir Voskresensky 2012-03-16 08:38:36 UTC
commit is still not propagated from core-main into main-silver...
Comment 5 Quality Engineering 2012-03-17 10:40:19 UTC
Integrated into 'main-golden', will be available in build *201203170400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/af3d15d8eda2
User: Jesse Glick <jglick@netbeans.org>
Log: #209433: Suite rebuild takes too long