Community
Participate
Working Groups
Version: 3.3.0 Build id: I20070601-1539 see bug 190094 for the context. Test scenario: - have a type that inherits a class located in a big JAR - open this type in the Java editor, press Crtl+O twice to show inherited members As there is no source attached to the referenced JAR file, the SourceMapper#computeAllRootPaths(IType) method could be optimized, as we scan the same zip file twice: once to search for class files, once to search for source files. If no source attached to JAR file, then we'll be scanning the same JAR twice. During the first scan, we could trigger a flag to remember this JAR has no source in it.
(In reply to comment #0) see also bug 190842
Performance work
Deferring post 3.4
Created attachment 104326 [details] Proposed fix and performance test To verify, one can run the performance test locally with and without the fix in SourceMapper
Fix and performance test released for 3.5M1. Still need to release performance test to 3.5 performance baseline.
Performance test released in perf_34x branch.
Will be verified once the performance test results are back.
Verified for 3.5M2 using local JDT/Core performance tests. Here's the results noticed on our test box for the added performance test testGetSourceBigJarNoAttachment(): Version Value ---------------------- M1 22.62% v_908 23.07% v_909 23.79% v_910 23.86% v_911 20.97% v_912 19.16%