Community
Participate
Working Groups
Build ID: I200705111421 Steps To Reproduce: While building a large workspace, I profiled org.eclipse.jst.j2ee.componentcore.util.EARVirtualComponent.getHardReferences() being called over 1,200 times (Note: this snapshot was taken at only 5% workspace build completion). Within this method, checking a project's type is called 84,000 times. ie. J2EEProjectUtilities.isDynamicWebProject, J2EEProjectUtilities.isStaticWebProject, J2EEProjectUtilities.isJCAProject, J2EEProjectUtilities.isUtilityProject Using the above methods does not scale well in this case. Pls consider caching and/or improving the utility method's response time. More information: I have attached an img showing the call stack as well as the time and invocation counts for each method.
Created attachment 67498 [details] shows profiling data while building a large workspace