Community
Participate
Working Groups
Build: WTP 1.5.1 0803 In BasicProfileAnalyzer.validateConformance(), it creates a DefaultReport object which seems to contain WS-I conformance information. However, when the WS-I validator is run from the workbench, this information is not used. In the case of a large workspace (1000 WSDL files), we are spending 26 sec (15%) creating this report. We should find ways to not create this report at the first place, this will be a huge performance improvement.
To be more specific, here's where the time was spent: org.eclipse.wst.wsi.internal.core.analyzer.BasicProfileAnalyzer.validateConformance() 129,155 72 % org.eclipse.wst.wsi.internal.core.analyzer.BasicProfileAnalyzer.validateWSDL(ReportArtifact, WSDLValidator, String, WSDLDocument) 85,883 48 % org.eclipse.wst.wsi.internal.core.report.impl.DefaultReporter.startReport() 25,977 15 % org.eclipse.wst.wsi.internal.core.report.impl.ReportImpl.getStartXMLString(String) 25,977 15 % org.eclipse.wst.wsi.internal.core.util.TestUtils.getXMLComment() 25,186 14 % org.eclipse.wst.wsi.internal.core.util.Utils.getInputStream(String) 25,116 14 % java.lang.ClassLoader.getResource(String) 9,613 5 % java.io.FileInputStream.<init>(String) 8,582 5 % java.lang.ClassLoader.getResourceAsStream(String) 6,719 4 %
Changing priority to P2 because we want to fix this in 1.5.1
Created attachment 48336 [details] Patch for wst.wsi
Patch reviewed by Dave.
Fixed and released.
verified and close.