Bug 236672 - [indexing] JDT indexing takes a long time
Summary: [indexing] JDT indexing takes a long time
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.5 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-11 12:17 EDT by Carl Anderson CLA
Modified: 2008-12-09 14:02 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Anderson CLA 2008-06-11 12:17:59 EDT
We have been profiling the creation of a Servlet using WTP 3.0 on top of Eclipse 3.4.  It appears that over 50% of the time that it takes to create a Servlet is spent in the JDT, with most of that time being taken by the JDT indexing.

This is a major performance difference from WTP 1.5.x (which was based on Eclipse 3.2).
Comment 1 Frederic Fusier CLA 2008-06-12 03:09:39 EDT
Looking at 3.3.2 and 3.4RC4 JDT/Core performance results, indexing didn't suffer such a regression since 3.2... Looking at the 2 existing tests (indexing the JDT/Core plugin and indexing all Eclipse workspace), I can see that for windows boxes we did improve speed of indexing between 3.2 and 3.3 (from 4.5% to 11.8%) and we are pretty stable between 3.3 and 3.4 (from -1.2% to 0.3%).

Didn't WTP use a specific IndexManager implemented on top of JDT/Core IndexManager? Could it be possible that this strong regression comes from it?

Do you have performance tests with more specific numbers to measure how big is the regression? Also perhaps some Yourkit snapshots showing in which precise area the time is spent?
Comment 2 Frederic Fusier CLA 2008-11-21 12:25:04 EST
Closing as WORKSFORME as per comment 1 and no feedback since then.
Please reopen with requested information if you're still getting this issue, thanks.
Comment 3 Kent Johnson CLA 2008-12-09 14:02:37 EST
Verified for 3.5M4 using I20081209-0100