Summary: | Performance: slow autobuild with many projects (1GL4NI5) | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | John Arthorne <john.arthorne> |
Component: | Resources | Assignee: | John Arthorne <john.arthorne> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Windows NT | ||
Whiteboard: |
Description
John Arthorne
2001-10-10 22:50:06 EDT
Fixed. Summary of changes (all in BuildManager and ResourceDeltaFactory: - not eagerly opening the tree for builds (means less tree layers) - Before invoking a builder, compute dtree delta since last build and see if there are any changes to project this builder cares about. If not, the builder is not invoked - When builder requests a delta, see if that project has changed (by looking at dtree delta computed above), and return an empty delta if not changed (saves building a ResourceDelta naively). - Cache the last ResourceDelta requested by a builder. If the old and new trees haven't changed since last request, just return the cached copy. The cache expires at the end of any build cycle to avoid holding onto large garbage structures. PRODUCT VERSION: R0.9 Fixed in v205. |