Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 552295

Summary: ProfileBundleContainer#resolveBundles: Parallelize creation of TargetBundles
Product: [Eclipse Project] PDE Reporter: Karsten Thoms <karsten.thoms>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 4.14   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/151416
Whiteboard:

Description Karsten Thoms CLA 2019-10-22 03:01:51 EDT
In ProfileBundleContainer#resolveBundles TargetBundle and InvalidTargetBundle are instantiated in 2 loops. The consumed time for this grows with the number of bundles in the target platform. During this process plugin.xmls are loaded and parsed.

I think there is potential to do this work in parallel. See attached profiling results that shows the difference when using parallel streams.
Comment 1 Eclipse Genie CLA 2019-10-22 03:05:32 EDT
New Gerrit change created: https://git.eclipse.org/r/151416
Comment 2 Karsten Thoms CLA 2019-10-23 03:10:43 EDT

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