[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Performance problem with recursive status

From: Mark Phippard <mphippard_at_collab.net>
Date: Wed, 17 Dec 2008 14:34:30 -0500

On Wed, Dec 17, 2008 at 1:54 PM, Justin Michel
<justin_michel_at_hotmail.com> wrote:
> Sometimes (not always) when importing a branch of our (18,764 file) project
> into Eclipse, Eclipse will appear to lock up for ~45 minutes on the fastest
> of machines (3Ghz Core 2, Velociraptor HD, 4GB RAM, Vista 32 Bit).

What does Import mean? You checked out in a different tool and import
the project into Eclipse? Have you ever done the checkout using
Subclipse?

> I was able to attach a profiler to Eclipse, and found that the problem is
> within the Subclipse plugin. I have the yourkit snapshot file available
> which will let you see the full stack trace.
>
> The problem starts as soon as Eclipse is opened, or when I "Import Existing
> Project Into Workspace". The first Subclipse call is
> subclipse.core.resourceListeners.RevertResourceManager.resourceChanged(). A
> single event here kicks off the LocalResource.getStatus() and
> LocalFolder.getStatus(), each of which result in
> RecursiveStatusUpdateStrategy being applied.
>
> I haven't looked through the Subclipse source code in detail, so I don't
> know a solution, but the problem is somewhat intermittent, so it seems there
> should be a solution.
>
> Let me know if I can be of further assistance.

What version of Subclipse are you running? Do you use JavaHL or
SVNKit as your client adapter?

We do have to get the SVN status of all 18k+ files. We try to do it
as a single SVN recursive get and a lot of work happened over the
years to optimize and make it happen. Perhaps because your project is
so large Eclipse itself has some problems and does not send the
resource events cleanly and we do not get a chance to do the
optmizations. This would cause us to run svn status many times which
is usually what would cause a slowdown.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=985990
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2008-12-17 20:34:43 CET

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.