Summary: | Crap Perfomance opening Java file with lots of imports | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Paul Smith <psmith> | ||||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | major | ||||||||
Priority: | P3 | Keywords: | performance | ||||||
Version: | 3.2 | ||||||||
Target Milestone: | 3.2 RC1 | ||||||||
Hardware: | Macintosh | ||||||||
OS: | Mac OS X - Carbon (unsup.) | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Paul Smith
2006-03-30 16:17:59 EST
Created attachment 37358 [details]
Yourkit 5 CPU snapshot taken during the opening of the file
Created attachment 37359 [details]
File in question that takes forever to load
What's weird is that the project only has about 12 jars in the build path.
There are about 1000 install Java task clasess that may be included in this master Install.java.
Not an efficient class I know, but perhaps it highlights a bottleneck in Eclipse?
Are your jars on a network drive, or are they on a local drive ? All local jars. All in a OSX filesystem that has been set to be ignored by Spotlight too so that Spotlight isn't constantly analyzing those files. We have 5 times more jars in another project and none of the java classes take this long to load. cheers, Paul Just installed 3.2 M6 and now this file opens up like a greased weasel! w00t. Marking as fixed (whatever you guys 'n gals did in m6 worked a treat). Glad it works for you now. Reopening this no action was taken on our side. No action was taken on this particular problem. Actually, there is still room for improvement. We can cache the jar files during reconcile. Well I won't complain... :) (3.2 M6 rocks by the way, a dream to use on OSX). +1 for 3.2RC1 Changed CompilationUnit#reconcile(...) to cache the zip files while running the reconcile operation. Verified for 3.2 RC1 using build I20060413-0010 Changing OS from Mac OS to Mac OS X as per bug 185991 |