Felix Schwarz <felix@schwarz-online.org> wrote on 08/17/2006 05:06:38 PM:
> I have a "plain" project (that means, no Java or CDT project, no
builders
> attached) with about 2600 files (mainly php and image files, no
phpclipse or
> WTP installed).
>
> Sometimes, when the building workspace action is triggered (e.g. after a
> refresh), it takes _very_ long to complete that action (15-20
> minutes). I guess,
> this problem occurs when I use an external svn client (such as
> command line svn)
> but I'm not sure how to reproduce this problem exactely.
>
> Using ps -x I see that a lot of "ls" commands are executed by Eclipse,
e.g.
> /bin/ls -ld
> /home/fs/workspace/Mueller/shop/images/icons/icons_engine/overture.jpg
>
> This is similar to what others experienced ([1], [2]).
>
> IMHO Subclise should not need so much time. If it needs to get
> information about
> every file in the project, this should be optimized that the ls is only
being
> done once per directory.
Subclipse does not execute the ls command. It is possible that the
Subversion adapter we are using is doing something like that. It is not
our code so it is hard to say. From the stack trace it looks like you are
using JavaSVN. I would recommend you try JavaHL, this would mean getting
the Subversion binaries.
I think that JavaSVN suffers from a big performance hit on *nix in trying
to support and detect symlinks. I think there is a property you can set
to tell it to not do this checking and it will speed things up. I do not
know what that is. If you search the archives for javasvn and symlink you
can probably find it.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Aug 18 00:58:19 2006