Bug 26943 - Browsing a remote site does not scale
Summary: Browsing a remote site does not scale
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
: 27682 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-22 09:48 EST by Dejan Glozic CLA
Modified: 2003-06-11 15:33 EDT (History)
1 user (show)

See Also:


Attachments
Profiling remote feature browsing (23.99 KB, image/gif)
2002-12-09 07:14 EST, Christophe Elek CLA
no flags Details

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:48:03 EST
Browsing a remote Update site with more than a few features is progressively 
slower and slower. Features must be downloaded in order to be presented in the 
UI.

Investigate decorating feature reference defined in the Update Site with enough 
attributes to provide for rendering features in the tree view and delaying 
download of the feature jar itself until the 'Details' view needs to present 
its content.
Comment 1 Christophe Elek CLA 2002-12-05 15:37:26 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 Christophe Elek CLA 2002-12-09 07:11:59 EST
*** Bug 27682 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Elek CLA 2002-12-09 07:14:23 EST
Created attachment 2722 [details]
Profiling remote feature browsing

19 out of 20 seconds are spent in the asLocalReference (download the JAR file).
14 seconds are spent in the copy process (open stream, read, write)

Providing label and other ui needed properties in site.xml will help
Comment 4 Dejan Glozic CLA 2003-01-20 13:31:40 EST
Need to modify UI to ensure it is calling the right methods on the site and 
feature objects as to not trip the download.
Comment 5 Dorian Birsan CLA 2003-06-11 15:33:51 EDT
In 3.0 M1 it is no longer possible to browser a site (other than its 
categories). The New Updates wizard will search for features matching the 
environment.