Red Hat Bugzilla – Bug 161266
Unusably slow performance when browsing project (for the first time?)
Last modified: 2007-11-30 17:11:08 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050512 Red Hat/1.0.4-1.4.1 Firefox/1.0.4
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a Standard Make C project, set the project contents to be a non-standard directory outside the workspace (one of my source trees from an untarred source tarball of ximian-connector-2.0.2, as it happens, mounted on a local filesystem, not NFS)
2. Try to browse the project in the C/C++ Projects tab by expanding one of the tree nodes
Actual Results: Eclipse becomes unresponsive for a long time, and eventually shows the expanded form of the node; CPU usage is close to 100%
Looking in top, the top process is "java". Doing an strace -p on the PID, it appears that every file in that level of the project is being opened and the first roughly 30 bytes of each file is being read, one byte at a time. (perhaps doing MIME sniffing)
Problem appears to be one-time only; I could reproduce it.
Expected Results: Should be able to expand tree nodes in the project instantaneously
Doesn't seem to be so bad on a upstream Eclipse running on the Sun JDK
"Problem appears to be one-time only; I could reproduce it." should have read
"roblem appears to be one-time only; I couldn't reproduce it."
This bug is filed against FC4 which is no longer supported. Please re-test with
FC5 or FC6 and reopen the bug if the problem still exists. Thanks.