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

RE: Decoration Calculation

From: <n57kl8s02_at_sneakemail.com>
Date: 2004-03-01 10:23:31 CET

> Geoff Howard wrote:
>
> > n57kl8s02@sneakemail.com wrote:
> >
> >> I've the same project (2000 files) in both cvs and svn. The
> >> decorations in
> >> cvs are calculated very fast. In svn it takes several *minutes*
> >> (using a svn
> >> server over dav in the same machine).
> >>
> Are you using command line interface or javahl interface ?
> It takes longer with command line interface (even if we don't launch svn
> for each file now as it was the case before)

javahl. I've noticed that using the command line makes matters really worse.
 
> > I have similar results, though I don't have the same project in two
> > repositories. I have a smallish project in svn, decoration takes a
> > long time. I have a big project in cvs (a big apache project) and it
> > seems faster - same client, same eclipse (M7). I know that's not very
> > useful without empirical data, but thought I'd add in.
> >
> >> Anyway, why is it necessary to talk with the svn server to find out
> >> versions, commiters and dates for a given file? Is there a way to
> >> disable
> >> the communication with the server and only use the local svn data?
> >
> > I'd assumed this is the way it works already!
> >
> > Geoff
>
> We don't talk to the server when we do decoration ...
> However we get the status of each file and it can take some time if the
> files are numerous.
> This is something we will try to improve however.
> You should add an issue on the issue tracker
> (http://subclipse.tigris.org/servlets/ProjectIssues)

It seems that cvs does the decoration on demand (when a given folder is open
it decorates the files). Maybe using the same scheme in subeclipse could
help. I've noticed that tortoisesvn also takes time (a few seconds per
folder, which are acceptable) to figure out which icons it should show for
each folder and file. I wonder if this isn't actually a problem with the svn
method for status querying.

> >> As a side note, it would be very nice to have icon decorations as in
> >> cvs.
> >>
> >> -----Original Message-----
> >>
> >> speed of decoration is dependent on your link to the svn server, the
> >> number of files you are trying to decorate, and the speed of your
> >> cpu. even cvs decorations take a long time with a lot of files.
> >> decorating the entire subclipse project only takes around 5s or so
> >> for me (granted, subclipse isn't big).
> >>
> >> in any event, decoration happens in a service thread, and i believe
> >> team decorations can be turned off entirely to boot.
> >>
> >> On Feb 29, 2004, at 11:36 AM, n57kl8s02@sneakemail.com wrote:
> >>
> >>> I've installed subclipse-M7-all-r473-svn1.0.zip and it seems to be
> >>> working fine with Subversion 1.0. However, whenever eclipse starts
> >>> up, or an update happens, the "decoration calculation" (adding the
> >>> label decorations to the files) takes a very long time to happen. Is
> >>> this issue known?
Received on Mon Mar 1 20:23:31 2004

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.