Bug 26946 - Update startup is slow
Summary: Update startup is slow
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Christophe Elek CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on: 27051
Blocks:
  Show dependency tree
 
Reported: 2002-11-22 09:56 EST by Dejan Glozic CLA
Modified: 2003-06-10 10:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dejan Glozic CLA 2002-11-22 09:56:10 EST
Loading Update state on startup (if nothing has changed i.e. no reconciliation 
has to be performed) takes time that is proportional to the number of features 
saved.

Investigate if we need all the state information right away:

1) We may not need all the histories loaded right away. We can create the 
configuration object but delay parsing the file until this object is actually 
needed i.e. until 'getConfiguredSites' is called on the IInstallConfiguration 
object in history.

2) The same for saved configurations.

3) Investigate parser code and see if there are bottlenecks
Comment 1 Christophe Elek CLA 2002-12-05 15:29:14 EST
Action Taken: we may add a new label attribute in the feature tag of site.xml.
This will prevent from downloading the features until other attributes are needed.

If the site parser finds a label attribute in site.xml it will set it into
feature reference and use it, otherwise feature reference will delegate the call
to the feature.

Action Plan: implement core , update spec and implement UI to call
IFeatureReference.getLabel() 
Comment 2 Dejan Glozic CLA 2002-12-05 15:31:41 EST
I beleive we have a 'name' attribute in the IIncludedFeatureReference (includes 
element), so we may use the same here to be consistent.
Comment 3 Christophe Elek CLA 2002-12-05 15:38:07 EST
Wrong bug, comments should have been in bug 26943
Comment 4 Christophe Elek CLA 2002-12-06 15:14:12 EST
Action Taken: bug 27051 contains the fix this issue
Action Plan: wait for bug 27051
Comment 5 Dejan Glozic CLA 2003-06-10 10:55:43 EDT
done.