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

Re: [Subclipse-users] Extremely slow performance in Subclipse method StatusCacheManager.basicGetStatus()

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 24 Feb 2009 20:46:53 -0500

How big is it? I'll check it out to see what happens, but would like
to know how much it is going to checkout.

What you are seeing does not sound normal.

Mark

On Tue, Feb 24, 2009 at 5:54 PM, ben_hutchison <ben_at_playscapegames.com> wrote:
> Hi Subclipse Community,
>
> Im experiencing extremely slow performance when starting Eclipse with
> a project containing the Scala programming language's main source tree
> checked out [http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk].
>
> Eclipse has run at 100% CPU for more than 2 hours, with the message
> "Initializing Java Tooling (59%)" showing.
>
> By use of a debugger, I have learned that:
>
> * The delay is caused by a massive amount of time spent within
> org.tigris.subversion.subclipse.core.status.StatusCacheManager.basicGetStatus()
>
> * Eclipse is not stuck, or hung or in an infinite loop. By
> periodically remaining stack variables, I can see it *is* progressing
> over files in the source tree, just very slowly.
>
> * By random sampling, I believe most time is being spent in these two
> methods, within StatusCacheManager.basicGetStatus():
>  - org.tigris.subversion.javahl.SVNClient.status(java.lang.String,
> int, boolean, boolean, boolean, boolean, java.lang.String[],
> org.tigris.subversion.javahl.StatusCallback) line: not available
> [native method]
>  - java.io.WinNTFileSystem.checkAccess(java.io.File, int) line: not
> available [native method]
>
> * No Scala-related code is executing in the slow thread, its all
> Subclipse/Subversion.
>
> Now, the Scala project does contain a *very* large number of files.
> However, startup times in excess of 2 hours render Eclipse unusable in
> practice.
>
> Environment: Win Vista, Java 1.6.12, Eclipse 3.4.1, Subclipse 1.4.7
>
> Some questions:
> * Is this a known issue?
> * Are there any algorithms in Subclipse that are worse than linear in
> terms of the number of files in the project?
> * What I can do to assist resolving this bottleneck?
>
> Thank you
> Ben
>
> ------------------------------------------------------
> http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=1223099
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
>

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=1223900
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-02-25 02:47:22 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.