Bug 298981 - org.eclipse.jdt.internal.core.search.indexing.AddJarFileToIndex.execute(IProgressMonitor) causes performance degradation
Summary: org.eclipse.jdt.internal.core.search.indexing.AddJarFileToIndex.execute(IProg...
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2010-01-06 14:21 EST by Kenneth Cheung CLA
Modified: 2010-01-25 06:28 EST (History)
4 users (show)

See Also:


Attachments
The jar file triggering the call of the method (92.71 KB, application/x-zip-compressed)
2010-01-06 14:25 EST, Kenneth Cheung CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Cheung CLA 2010-01-06 14:21:32 EST
Build Identifier: org.eclipse.jdt.core_3.4.9.v_899_R34x.jar

In our adopting product, we need to maintain performance from release to release.

In one of our scenario, with org.eclipse.jdt.core_3.4.9.v_899_R34x.jar, the method:

org.eclipse.jdt.internal.core.search.indexing.AddJarFileToIndex.execute(IProgressMonitor) 

takes 1015ms, while with org.eclipse.jdt.core_3.4.4.v_894_R34x.jar it takes 0ms

Reproducible: Always
Comment 1 Kenneth Cheung CLA 2010-01-06 14:25:00 EST
Created attachment 155442 [details]
The jar file triggering the call of the method
Comment 2 Olivier Thomann CLA 2010-01-06 14:39:17 EST
That code has not changed since the 3.4 release. So I don't see how it could be suddenly much slower.
Could you please describe how you got the numbers?
Comment 3 Olivier Thomann CLA 2010-01-07 10:00:49 EST
Please confirm that the same jar file is indexed on both cases.
Comment 4 Olivier Thomann CLA 2010-01-07 11:38:14 EST
Right now nothing can be done on our side as that code has not changed in the two versions mentionned in comment 0.
Comment 5 Frederic Fusier CLA 2010-01-12 06:23:27 EST
I got a setup on a remote machine and it appears that the added jar file only contains source files. I have observed that the AddJarFileToIndex.execute method is never called during the test!

Hence, close this bug as invalid...
Comment 6 Satyam Kandula CLA 2010-01-25 06:26:27 EST
Verified for 3.6M5 using Build id: I20100122-0800
Comment 7 Srikanth Sankaran CLA 2010-01-25 06:28:42 EST
Verified.