Bug 168556

Summary: [validation] Slow startup of wsdl validator plugin
Product: [WebTools] WTP Webservices Reporter: Tim deBoer <deboer>
Component: wst.wsdlAssignee: Project Inbox <wst.wsdl-triaged>
Status: NEW --- QA Contact: Keith Chong <keith.chong.ca>
Severity: normal    
Priority: P3 Keywords: performance
Version: 2.0   
Target Milestone: Future   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.