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

Bug 325746

Summary: [ds] expensive manifest localization on startup
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: CompendiumAssignee: equinox.compendium-inbox <equinox.compendium-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: browe, caniszczyk, jcagle, john.arthorne, melickm, s.boshev, tjwatson
Version: 3.5Keywords: performance
Target Milestone: 3.4.2+   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 272087    
Bug Blocks:    

Description Thomas Watson CLA 2010-09-20 08:44:12 EDT
+++ This bug was initially created as a clone of Bug #272087 +++

N20090412

Profiling startup of a simple headless application, there is a significant hit in the ds activator due to computation of localized manifest data. It looks like we can make an optimization similar to bug 271621 to avoid this computatation (use getHeaders("") instead of getHeaders(). The two invocations of getHeaders() in ds activation cost 8% of the total startup time.

See Activator.start line 157 and SCRManager.startedBundle line 477.

----------------------------

Opening this bug to release to 3.4.2+ stream.  See patch on bug272087
Comment 1 Thomas Watson CLA 2010-09-20 08:48:06 EDT
I released the patch for 3.4.2+.  Thanks Stoyan.
Comment 2 Billy Rowe CLA 2010-09-20 09:18:57 EDT
Thank you for the quick turnaround!