| Summary: | [performance] Opening the LCD is slow | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Darin Wright <darin.eclipse> | ||||||
| Component: | UI | Assignee: | Darin Wright <darin.eclipse> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P2 | CC: | ankur_sharma, curtis.windatt.public | ||||||
| Version: | 3.6 | Keywords: | performance | ||||||
| Target Milestone: | 3.6 RC2 | Flags: | curtis.windatt.public:
review+
ankur_sharma: review+ |
||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 309884, 313388 | ||||||||
| Attachments: |
|
||||||||
|
Description
Darin Wright
I filed bug 312949 for the issue with typing in the name field (which is a platform bug). Typing in the Eclipse Application fields seems fine, however, opening the LCD on an Eclipse Application, and switching between them is slow. Created attachment 168582 [details]
patch
Using YourKit, I found that 50% of the time switching to a feature based launch is due to the fact that the feature block creates new workspace/external feature model managers each time it is used. It's much faster to re-use the existing managers from PDE.
Created attachment 168583 [details]
update
Forgot to include the change in pde.core as well.
+1, waiting for Ankur's review. Looks like he wasn't cc'd, so he may have missed the review request. +1 We need to make these changes in BundleLauncherHelper.getMergedBundleMap also. Is there a bug for it already? Fixed in HEAD. I removed the fmm.shutdown() line just after where we get the feature model manager. It only removes the listeners, but we shouldn't be doing that to the default model manager. Verified. |