Bug 325746 - [ds] expensive manifest localization on startup
Summary: [ds] expensive manifest localization on startup
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Compendium (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4.2+   Edit
Assignee: equinox.compendium-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on: 272087
Blocks:
  Show dependency tree
 
Reported: 2010-09-20 08:44 EDT by Thomas Watson CLA
Modified: 2010-09-20 09:18 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!