Bug 168556 - [validation] Slow startup of wsdl validator plugin
Summary: [validation] Slow startup of wsdl validator plugin
Status: NEW
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.wsdl (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2006-12-19 10:44 EST by Tim deBoer CLA
Modified: 2010-07-20 11:36 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim deBoer CLA 2006-12-19 10:44:45 EST
While investigating bug 95328 (Run on Server wizard slow the first time), I traced WTP plugin startup times and found that almost a second and a half of time is spent just activating plugins, before any API is even called. Most plugins started in well under 20ms, but several were very slow. The third worst offender is the wsdl plugin:

  org.eclipse.wst.wsdl.validation - 141ms

Eclipse guidelines say that plugins should not do any large calculations or initialization in their startup() methods - these should be deferred to when they are required by API calls. This slow startup is even affecting plugins like server tools due to indirect dependencies through other parts of WTP.

You can trace this using the debug/bundleTime flag in org.eclipse.osgi.
Comment 1 Valentin Baciu CLA 2007-01-05 10:43:46 EST
I'll try profiling to see what's going on.
Comment 2 Valentin Baciu CLA 2008-07-16 17:27:06 EDT
Amy, please add this to your list of things to profile.