Bug 95558 - [Sharing] Performance issues sharing large projects
Summary: [Sharing] Performance issues sharing large projects
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P5 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted, performance
Depends on: 100985
Blocks:
  Show dependency tree
 
Reported: 2005-05-17 10:26 EDT by Michael Valenta CLA
Modified: 2019-09-06 16:04 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 Michael Valenta CLA 2005-05-17 10:26:30 EDT
There are several performance issues when sharing large projects (~20000 
resources).

1) In this case, there are a large number of unmanaged, unignored resources. 
The isIgnored check is expensive in this case as all parents must be checked. 
This is compounded by the need to check for each resource. This may happen 
several times during a share. The easiest solution may be to cache the fact 
that an unmanaged folder is not ignored in the session properties.

2) When the ResourceVariantTree collects changes, it traverses all resources 
of the project even though none have any remote state. It should only need to 
traverse those resouces that are locally managed or have remote state. This is 
probably not to complicated but will require API.

3) At some point, the sharing wizard needs to wait for the 
SubscriberEventHandler to populate the sync page. During this time, there is 
no progress feedback (and ignore checking is occuring so it is slow).

4) Clicking Finish will bring up the Commit Dialog which repopulates another 
sync page. Progress is better but the user ends up waiting twice for the same 
thing.

5) After clicking Finish in the Commit dialog, all the resources are added and 
then committed. These are large operations and are more susceptible to 
failure. It is common for the Commit to time out, for instance.
Comment 1 Michael Valenta CLA 2005-06-01 11:35:43 EDT
I had to remove a subTask call from the 
AbstractResourceVariantTree#collectChanges method since it was slowing down 
the sync considerably on GTK (see bug 97818). This could be re-added once 
point 2 is addressed.
Comment 2 Michael Valenta CLA 2005-06-01 14:05:31 EDT
Point 2 also has an impact on committing. If there is a large ignored 
directory, then committing from the navigatpr takes a long time to collect all 
the changes.
Comment 3 Michael Valenta CLA 2006-08-17 11:07:00 EDT
There is currently no plan to address this issue.
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:04:30 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.