Bug 159828 - [CommonNavigator] Deleting projects of a large workspace from Project Explorer is very slow compared to Package Explorer
Summary: [CommonNavigator] Deleting projects of a large workspace from Project Explor...
Status: RESOLVED DUPLICATE of bug 194209
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Francis Upton IV CLA
QA Contact:
URL:
Whiteboard: perf
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-04 23:13 EDT by Raj Mandayam CLA
Modified: 2009-02-09 00:54 EST (History)
4 users (show)

See Also:


Attachments
time taken after deleting projects in project explorer (182.86 KB, image/jpeg)
2006-10-04 23:15 EDT, Raj Mandayam CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raj Mandayam CLA 2006-10-04 23:13:36 EDT
Deleting projects of a large workspace  from Project Explorer is very slow

In a product based on WTP, I have a large workspace with a lot of projects, 

when I delete them from Project Explorer, its really slow

The actual deletion goes along somewhat normally with progress reported to 100%

then after that the workspace locks up for over 2 minutes, with CPU showing 100%

We found that the JDT Problem marker was being triggered and it was calling 

NavigatorContentServiceLabelProvider.labelProviderChanged for nearly 2 minutes 
in a async exec


To test whether it was something to do with Project Explorer, the next time we closed Project Explorer and had Package Explorer open, we tried deleting the same projects and the deletion got done in same amount of time but the workspace did not lock up at all at the end.


Using yourkit we found the following code being called (when I delete projects from project explorer)
Comment 1 Raj Mandayam CLA 2006-10-04 23:15:11 EDT
Created attachment 51445 [details]
time taken after deleting projects in project explorer
Comment 2 Gary Karasiuk CLA 2006-12-18 12:17:41 EST
Can you specify the target for this please. 
Comment 3 Francis Upton IV CLA 2009-02-09 00:54:05 EST
bug 194209 Fixes this.

Released test case for this bug to HEAD 20090208

Test shows time deleting projects with and without the project explorer are now comparable.

*** This bug has been marked as a duplicate of bug 194209 ***